Move order precedence to seperate file