Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php sort by value then key

array_multisort(array_values($arrTags), SORT_DESC, array_keys($arrTags), SORT_ASC, $arrTags);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #sort #key
ADD COMMENT
Topic
Name
6+5 =