|
The SortDirection enumIntroductionThe SortDirection enum is used to specify the direction in which values are sorted.
Enum synopsisSortDirection Ascending DescendingExamplesExample #1 Sorting names with SortDirection The above example will output:
Array
(
[0] => Charlie
[1] => Bob
[2] => Alice
)
See Also |