The compare_factories_func() should return negative value if the rank of both PluginFeatures are equal and the name of first PluginFeature comes before the second one (== ascending order).