A much more clean and efficient method of finding the right order of lexemes for a query.