I have a list of my custom objects. The object contains 1 string and 2 decimals. I would like to sort the list based on the 2nd decimal field descending then the first decimal field.
For eg:
object 1 -> "a", 100, 10
object 2 -> "b", 300, 0
object 3 -> "c", 200, 200
object 4 -> "b", 400, 0
would be sorted as object 3, object 1, object 4, object 2
I apologize if this has already been answered - please point me to that post as I could not find it