A Comparator for Sortable instances with JUnit tests