Fixes #8110, make sure plugins are sorted correctly during tests. Moved plugin sorting logic from Plugin\Manager to PluginList.
Fixes #8110, make sure plugins are sorted correctly during tests. Moved plugin sorting logic from Plugin\Manager to PluginList.