This interface should be used to ensure that sorting a result set is standardized among the different query implementations.