REST-35. Sort instances in TestInstancesResources.

This test is unstable across systems otherwise.