WeCodeAcademy

Sort an array of objects

Pass a compare function to sort.

Examplejavascript
Open in editor »

More JavaScript recipes