Erik Hesselink added ORDER BY and LIMIT