class ActiveAdmin::MenuItem
def <=>(other)
def <=>(other) result = priority <=> other.priority result = name <=> other.name if result == 0 result end
def <=>(other) result = priority <=> other.priority result = name <=> other.name if result == 0 result end