Changed search SQL query

Sorted by check out date, descending.