Remove the concrete sorting class for elements in favor of a Comparator function.