If we're going to do default limit = 10 (like in sqlite), should the sort and limit be done inside the query rather than outside as it is now?