sorting FlowDirections in code for consistency