Order results on range_key and enfore limit on query and scan calls