Fixed DependencyMap to return dependent classes, sorted by usage index
Updated version