ordering the attr model by is_global attr