In previous post i.e. “Apex Summer’12 Comparable interface Sorting Examples : Part 1”, we saw how easily we can sort a UDT(User Defined Type) on various attributes like Date, Datetime, String and Numbers.
This post will demo how we can get the ability to sort on
- Multiple attributes
- Both ASC and DESC sorting orders