Katya's original StudentSorter class