From: colemanw Date: Mon, 24 Jul 2023 14:55:03 +0000 (-0400) Subject: ScheduleReminders - Sort options X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=58102f390c379d2a3476fab6e371c17cdb11c1fc;p=civicrm-core.git ScheduleReminders - Sort options --- diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index 12d12369d8..64bcf8c1cc 100644 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -58,7 +58,9 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule implements * @return array */ public static function getMappingOptions(): array { - return CRM_Utils_Array::collectMethod('getLabel', self::getMappings()); + $mappings = CRM_Utils_Array::collectMethod('getLabel', self::getMappings()); + natcasesort($mappings); + return $mappings; } /**