Thank you very much!
Automatic assignment (as well as sorting units in the menu by stats) was something I started to make, but sadly couldn't finish in time. A real pity about not being able to click, wonder why it happened. :/