fixed 'sort by type' option in search results view