on filtering the share box users and groups whose name begins with the search term shall appear on top, fixes #6430
respect coding guidelines
move sorter into a class
sort following entries in alphabetical order
test for share dialoge sorter
wrong tld
Inject logger
fix DI
intendation