Array
(
[0] => Array
(
[absPath] => 0,1
[catID] => 1
[catPath] => 0
[catTitle] => 根目录
[sort] => 0
[description] => 根目录
) [1] => Array
(
[absPath] => 0,1,17
[catID] => 17
[catPath] => 0,1
[catTitle] => 111
[sort] => 0
[description] => 无
) [2] => Array
(
[absPath] => 0,1,17,21
[catID] => 21
[catPath] => 0,1,17
[catTitle] => 1111
[sort] => 0
[description] => 无
) [3] => Array
(
[absPath] => 0,1,17,22
[catID] => 22
[catPath] => 0,1,17
[catTitle] => 1112
[sort] => 0
[description] => 无
) [4] => Array
(
[absPath] => 0,1,18
[catID] => 18
[catPath] => 0,1
[catTitle] => 222
[sort] => 0
[description] => 无
) [5] => Array
(
[absPath] => 0,1,18,23
[catID] => 23
[catPath] => 0,1,18
[catTitle] => 2221
[sort] => 0
[description] => 无
) [6] => Array
(
[absPath] => 0,1,18,24
[catID] => 24
[catPath] => 0,1,18
[catTitle] => 2222
[sort] => 0
[description] => 222
) [7] => Array
(
[absPath] => 0,1,20
[catID] => 20
[catPath] => 0,1
[catTitle] => 333
[sort] => 4
[description] => 333
))
=======================================
以上数组,111,222,333是同一级的,1111,1112是111子分类,2221,2222是222子分类,我希望同一级中sort大的排在前面,请大家指教!
(
[0] => Array
(
[absPath] => 0,1
[catID] => 1
[catPath] => 0
[catTitle] => 根目录
[sort] => 0
[description] => 根目录
) [1] => Array
(
[absPath] => 0,1,17
[catID] => 17
[catPath] => 0,1
[catTitle] => 111
[sort] => 0
[description] => 无
) [2] => Array
(
[absPath] => 0,1,17,21
[catID] => 21
[catPath] => 0,1,17
[catTitle] => 1111
[sort] => 0
[description] => 无
) [3] => Array
(
[absPath] => 0,1,17,22
[catID] => 22
[catPath] => 0,1,17
[catTitle] => 1112
[sort] => 0
[description] => 无
) [4] => Array
(
[absPath] => 0,1,18
[catID] => 18
[catPath] => 0,1
[catTitle] => 222
[sort] => 0
[description] => 无
) [5] => Array
(
[absPath] => 0,1,18,23
[catID] => 23
[catPath] => 0,1,18
[catTitle] => 2221
[sort] => 0
[description] => 无
) [6] => Array
(
[absPath] => 0,1,18,24
[catID] => 24
[catPath] => 0,1,18
[catTitle] => 2222
[sort] => 0
[description] => 222
) [7] => Array
(
[absPath] => 0,1,20
[catID] => 20
[catPath] => 0,1
[catTitle] => 333
[sort] => 4
[description] => 333
))
=======================================
以上数组,111,222,333是同一级的,1111,1112是111子分类,2221,2222是222子分类,我希望同一级中sort大的排在前面,请大家指教!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货