Sort results to make sure assert work on consistent order
Merge pull request #12846 from owncloud/fix-searchbytags-test

Sort results to make sure assert work on consistent order