Sort OidSet.elements[] by prefix and class name