Search suggestion / Add option for sorting

... and only sort once the results.

Sample queries:
* main.search.suggest?field=any&q=sta* = sort by frequency (default)
* main.search.suggest?field=any&q=sta*&sortBy=FREQUENCY = sort by frequency
* main.search.suggest?field=any&q=sta*&sortBy=ALPHA = sort by alphabetical order
* main.search.suggest?field=any&q=sta*&sortBy=STARTSWITHFIRST = sort element starting with searched value first, then by alphabetical order