Add 'order by' in dequeue query.
Merge pull request #1 from Mistat/master

Thank you such a grate commits !!