Fixed directory listing sort order.

Query now uses backticks instead of single quotes.