Added max ordering setting