Abstract sort is enhanced with isSorted method