Hello Michael! I am sorry for the delay in replying you: for some reason I did not receive a notification about this topic.
You can use this approach to configure a chart with two root employees. Org Chart provides a JS framework with which you can set the custom sorting.
As regards the departments, you can use the customisation described in this topic to add a drop-down menu that applies filtering by department.