Fixed: SearchHandlerTest relies on specific ordering

If elements are not returned in the same order by backends, some tests
fail because of the hardcoded order.

Fixing this by sorting the result before comparison.
Merge pull request #423 from patrickallaert/FixSearchHandlerTestOrder

Fixed: SearchHandlerTest relies on specific ordering