graphqlbackend: sort test results to make it stable
Created by: unknwon
Fix flaky tests introduced in #5859 and found in https://buildkite.com/sourcegraph/sourcegraph/builds/45497#96645873-35ff-4225-bb68-bf01436c4721 by @attfarhan (Thanks!).
Test plan: CI