Comparator instead of implementing Comparable interface