Now cycles only through ASCENDING and DESCENDING sorting states, ignoring NOT_SORTED.
Now cycles only through ASCENDING and DESCENDING sorting states, ignoring NOT_SORTED.

ppavlidis/baseCode,ppavlidis/baseCode