diff --git a/core/modules/system/system.module b/core/modules/system/system.module
index 377c30e52992afc86358db457d45f1f53a70f35d..6bd8dd4307e8a962e62e94cc74b364740173c83a 100644
--- a/core/modules/system/system.module
+++ b/core/modules/system/system.module
@@ -1372,7 +1372,12 @@ function system_sort_modules_by_info_name($a, $b) {
 }
 
 /**
- * Array sorting callback; sorts modules or themes by their name.
+ * Sorts themes by their name.
+ *
+ * Callback for uasort() within
+ * \Drupal\system\Controller\SystemController::themesPage().
+ *
+ * @see system_sort_modules_by_info_name().
  */
 function system_sort_themes($a, $b) {
   if ($a->is_default) {