determine dic order from setting