Problem/Motivation
On a Drupal installation with a large number of configuration files (I have one with over 1,900), It is not possible to update Drupal core to 9.3.0. When the update gets to the "sort_all_config" post-update hook, that hook fails with allowed memory exhausted.
Proposed resolution
The function system_post_update_sort_all_config() in system.post_update.php attempts to update all configuration files in a single execution. This should be converted to a batch process.
Remaining tasks
Review the patch file provided in this issue.
Release notes snippet
TBD