Sorting list by field

BlitzMax Forums/BlitzMax Programming/Sorting list by field

I'm trying to sort a list of user defined types base on one of the fields. Has anyone got any code for this. Could I overide the Compare method with my own version then use SortList? If so exactly how is this done?

You do exactly that : override compare and use sortlist.

Ok found some example code in the wiki.