Improve readability of comparators for sorting