simplify populating the ordering hash