js字符串数据排序
results = [
{model:'CM201-2'},{model:'CM201-3'},{model:'CM201-6'},{model:'H1Ne-02-1'},{model:'MGV200'},{model:'UNT400G1'},
]
results.sort((a,b) => {return a.model.localeCompare(b.model)});
results = [
{model:'CM201-2'},{model:'CM201-3'},{model:'CM201-6'},{model:'H1Ne-02-1'},{model:'MGV200'},{model:'UNT400G1'},
]
results.sort((a,b) => {return a.model.localeCompare(b.model)});