Skip to content

Commit 27c557a

Browse files
committed
Sort voices.
1 parent 0324cdd commit 27c557a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

includes/Classifai/Providers/AWS/AmazonPolly.php

+3
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ public function get_voices_select_options( string $engine = '' ): array {
318318
);
319319
}
320320

321+
// Sort the options.
322+
asort( $options );
323+
321324
return $options;
322325
}
323326

0 commit comments

Comments
 (0)