Sort search results with tests.
Merge pull request #49 from orchestrate-io/cdm-search-sorting

Sort search results with tests.