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