A custom Comparator and Quicksort performed using it