Move the bundle sorting logic from the BundleAutoloader to the ConfigCollection