posted 10 years ago
Hi,
I have a list of Objects. The Object has a Map and the Map has a key lastReplicatedDate. I need to sort the list of Object using this lastReplicatedDate in descending order. How do I achieve this. I want to implement is using Collections.sort(List, Comparator) and hence want to write a Comparator for this.
Thanks in advance,
Ankit