DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+1 =
Submit