Autonami_Helpers::sort_by_name( array $a, array $b )
Method sortByName
Contents
Parameters Parameters
- $a
-
(Required)
- $b
-
(Required)
Return Return
(void)
Source Source
File: src/integrations/autonami/helpers/autonami-helpers.php
public function sort_by_name( $a, $b ) { return strcmp( $a['text'], $b['text'] ); }
Expand full source code Collapse full source code View on Github