refactored functions in query some more to allow re-use in range_range, select() pretty much just calls out to a bunch of handlers now
in particular `my.core.query.select`: a function to query, order, sort and filter items from one or more sources