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