Wired up autocomplete on sort directions and group-by select2.

https://www.openproject.org/work_packages/8238