DRY in sorting tests and make Selecion sort use the Comparator object