how to sort objects with collections???
I must finish that horrible assignment tomorrow.What I must do is to use collections.sort method for sorting the course objects by their course codes.I did everything but couldn't do.plz help me if you can sort them,or tell me how to sort.here is the corresponding part of my assignment:
4. Include 2 sorting options that user can choose: one by course code and one by lecturer name AND surname. Both options should be in ascending order and you should use Collections.sort method. ListBox and TextArea should be updated to display the courses in selected order.
Re: how to sort objects with collections???