Generics Comparator example worked out and added