Issue #2576945 by hchonov: PathProcessorLanguage::initProcessors is not sorting the methods by weight