Sorting multi-dimensional associative array in PHP -
i have php array looks this: array (size=1) 'marriot' => array (size=7) 0 => string 'doc5.txt' (length=8) 1 => string 'test.txt' (length=8) 2 => string 'test1.txt' (length=9) 3 => string 'test2.txt' (length=9) 4 => string 'test3.txt' (length=9) 5 => array (size=1) 'special docs' => array (size=2) 0 => string 'doc4.txt' (length=8) 1 => string 'doc3.txt' (length=8) 6 => array (size=1) 'adocs' => array (size=0) empty as can see, holds non-associative files, , 2 folders, "special docs" , "adocs". problem two-fold: first, want move 2 folders top of array prominent in view. second, want sort folders alphabetically (i.e. put "adocs" above "special docs". have tried array_multis...