Add the posibility to sort the search result by some algorithm. Use this to sort glossary search results using a normalized Levenshtein distance.