sort empowered units first. fixes #143