我怎样才能实现
ORDER BY sort1 DESC, sort2 DESC
JSON数组中的逻辑如下:
var items = '[
{
"sort1": 1,
"sort2": 3,
"name" : "a",
},
{
"sort1": 1,
"sort2": 2,
"name" : "b",
},
{
"sort1": 2,
"sort2": 1,
"name" : "c",
}
]';
导致新订单:
b,a,c