She'd be standing in line with the first years. But Dumbledore would explain, the school has a transfer student as well, so there wouldn't be confusion why an older student was getting sorted among the first years.