Change record status: 
Project: 
Introduced in branch: 
10.2.x
Introduced in version: 
10.2.0
Description: 

The function module_config_sort() has been deprecated in Drupal 10.2 and will be removed before Drupal 11.0.

The function used to sort module's array by weight and name, so moved to \Drupal\Component\Utility\SortArray::sortByIntValueAndKey()

Impacts: 
Module developers