Sprite Z ordering...

BlitzMax Forums/BlitzMax Programming/Sprite Z ordering...

Add a compare method to your type like Robert did above, then when you call SpriteList.Sort() (or SortList()) max will sort the list for you using the compare method you supply.

*EDIT* to slow again :)