Order by id so SQL results will use elastic search ordering, fixes #2647.
Merge pull request #2649 from waldenraines/master

Order by id so SQL results will use elastic search ordering, fixes #2647