Add ordering support for ORDER BY with no LIMIT