Created
March 7, 2017 09:01
-
-
Save aleics/eaf0a7d0a4ab378ef38934b8c23f2c8c to your computer and use it in GitHub Desktop.
Lodash insensitive sorting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var selection = _.sortBy(elements, [element => _.lowerCase(element.a), | |
element => _.lowerCase(element.b)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment