or download this
# Create a list of student IDs by taking the sorted
# list of anonymous arrays and returning the second
...
# the value of $students{$_} on the tab, and the second
# element is the student ID.
map { [ (split( "\t", $students{$_} ))[1], $_ ] } keys %students )