MDL-38144 categories are created in reverse sort order in externallib