js sort()


### sort object list
```typelist.sort((a, b) => (a.color > b.color) ? 1 : -1)```



> [How to sort an array of objects by a property value in JavaScript](https://flaviocopes.com/how-to-sort-array-of-objects-by-property-javascript/)

> [자바스크립트 정렬 함수, sort()](http://dudmy.net/javascript/2015/11/16/javascript-sort/)







