order list returned by other api
Posted on 2006-06-09
my code is similiar to:
ArrayList a = otherAPI.searchStudent( "registered");
the a is a ArrayList containing the students registered, but I want to sort this list. I don't know how to do it, and I don't want to otherAPI to sort it on DB side, since I will sort list by different column in different situations.