TheSerapher/php-mpos — pull request #1468 by Neozonz (2014-01-19 03:47:05+00:00)
Title: MySQL Optimization: always use order by when using limits

"Imagine a table is a jar of marbles. Each marble is a row in your table. Usually, they stay in some sort of order. But once you reach in and pick out certain marbles, it shakes up the order of the rest. Use ORDER BY to ensure the order of your result set." (#mysql)

Always use order by when issuing limit statements