Custom Objects List sorting more than one field
In CO list, there are total eight field in which one field is date and second field item type. Business requirement is to sort it based on item type first after that again sort it by date field type.
custom objects(default_c) ,
field
Date(date),
Item Type(itemType)
And, counter is running for up to two times. what will be best way to sort it again and again in Velocity script?