A randomized PYTHONHASHSEED caused the glance API to return certain data
in a nondeterministic order, breaking some tests. This patch sorts the
returned data before testing against a pre-sorted expected values.
Change-Id: Ie294b64738bd33b31aea915183c30b5b8db2eb65