testing sorting feature