Added sorting option to searcher