Skip to content

Instantly share code, notes, and snippets.

@manzaloros
Created June 5, 2021 15:00
Array sort
array.sort((a,b) => a < b ? -1 : 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment