mathiasbynens/php-url-shortener — pull request #6 by B-Scan (2012-06-03 19:17:44+00:00)
Title: Need secondary order

Ordering by date only isn't enough. When having 2 records with same date, wrong one is chosen. That causes "Duplicate entry" error on insert.