allows ordering of paginated results