I have an array of objects. The objects have a base class with various properties. Each time an object gets created, I push it into the array. However, I need to sort the objects based on one of their properties.
Lets say in my object class, I have a function “ReturnNumber()” that returns a number, I want to sort my array based on which number was the highest. Can I use SortOn() to do this?