Sorting and sort order added as a feature across queries