created isSortedBy, changed sort options