Added the manifest sort helper