a new query object is handling range, filter and sort
a new query object is handling range, filter, and sort