From 58102f390c379d2a3476fab6e371c17cdb11c1fc Mon Sep 17 00:00:00 2001 From: colemanw Date: Mon, 24 Jul 2023 10:55:03 -0400 Subject: [PATCH] ScheduleReminders - Sort options --- CRM/Core/BAO/ActionSchedule.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } /** -- 2.25.1