Add position to RoleFlow
[#81991872] Move logic to controller, sort flows

- includes tests for controller and column component