Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php sort

PHP function sort(array &$array, int $flags) bool
---------------------------------------------
Sort an array
  
Parameters:
array--$array--The input array.
int--$flags--[optional] The optional second parameter sort_flags may be used to modify the sorting behavior using these values. 
Sorting type flags: SORT_REGULAR - compare items normally (don't change types).

Returns: true on success or false on failure.
Source by php.net #
 
PREVIOUS NEXT
Tagged: #php #sort
ADD COMMENT
Topic
Name
6+8 =