https://tutorial.eyehunts.com/js/javascript-sort-array-of-objects-by-multiple-properties-code/
JavaScript sort array of objects by multiple properties | Code