Fully working drag'n'drop sorting of groups. May need some polish / testing later.