added ORDER BY to gallery query
Merge pull request #1817 from NuGet/fix-warehouse-replication

added ORDER BY to gallery query