bug 829098 add sort to output from middleware call in test
Merge pull request #1043 from selenamarie/bug829098-bug-test

bug 829098 add sort to output from middleware call in test