@a = sort(@a); # array @a is now sorted into ascending order... @a = reverse(@a); # array @a is now reversed, so since it was sorted in ascending order BEFORE it was reversed, it would now be sorted into DESCENDING order.
Four different SORT statements illustrated, sort of anyway.
Here is the simple example running version, which had @!/usr/bin/perl instead of #!/usr/bin/perl as the shebang line slimer this morning in class.