note
dsheroh
If he's talking about nested loops, then you're probably not supposed to use the Perl <c>sort</c> function at all, but instead to implement a sorting algorithm from scratch. Hopefully, then, the class has already covered at least one sorting algorithm for you to implement. If not, google can provide explanations of how several sorting algorithms work, then it's just a matter of translating the algorithm's description into Perl code.
998088
998094