ScheduleReminders - Sort options
authorcolemanw <coleman@civicrm.org>
Mon, 24 Jul 2023 14:55:03 +0000 (10:55 -0400)
committercolemanw <coleman@civicrm.org>
Fri, 4 Aug 2023 12:10:22 +0000 (08:10 -0400)
CRM/Core/BAO/ActionSchedule.php

index 12d12369d8f1bc29665b00dcb3a3ae2a1f1a1d4e..64bcf8c1ccf4c96d94b788ce235fda9ec78cbea0 100644 (file)
@@ -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;
   }
 
   /**