Added sort-by start/end coverage to search results and fixed a bug