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)});
标签:CM201,results,js,字符串,model,排序 From: https://www.cnblogs.com/stevenzhangcy/p/17583103.html