code: def get_cms_model_order(model_name):
      
      for (name, order) in iteritems(appsettings.FLUENT_DASHBOARD_CMS_MODEL_ORDER):
          if name in model_name:
              return order
      return 999
docs: Return a numeric ordering for a model name.