I'm guessing you're on a flight that leaves past midnight? Those flights are never (supposed to be) allocated a gate above the mid-twenties, partly because the people mover shuts down around midnight and also because The Wing stays open until the last flight of the day, whereas the Pier closes at 11.30.