algorithm Simplifying JS sorting once and for all: Sort(), localeCompare(), Sort keys in a Map, Sort Values in a Map 2 years ago • 3 min read