Hi!
I tested it again and have to admit that I was partly wrong on my side. It seems that the functions is bound to the position of the key and not it value. Since I was using a German keyboard I was confused. But there is another small bug with the line formation. It seems to be dependent in which direction you draw the line. If I used it by drawing from the right to the left side it worked as I would expect but if I draw it the other way around all units seem to clump up first before moving to their position. Also if there are many units selected it seems to bug out. I would recommend having a look at the game "beyond all reason" (bar). It has imo the best implementation of such controls.
And pumpgun needs a nerf. Or maybe I am just bad, :)
Cheers