private static void overrideCommonAttributes(Element entry, Element overrideEntry) {
        if (overrideEntry.attributeValue("name") != null) {
            entry.addAttribute("name", overrideEntry.attributeValue("name"));
        }
        if (overrideEntry.attributeValue("plugin") != null) {
            entry.addAttribute("plugin", overrideEntry.attributeValue("plugin"));
        }
        if (overrideEntry.attributeValue("order") != null) {
            entry.addAttribute("order", overrideEntry.attributeValue("order"));
        }
    }
Sorts all tabs, their containing sidebars, and their containing entries based on the value of their 'order'
attributes.
xmppserver/src/main/java/org/jivesoftware/admin/AdminConsole.java