what is string-ins?
LukeXF opened this issue · 5 comments
LukeXF commented
I understand int, float and string but string-ins in the documentation is unknown to me? Does it have a purpose or is it a spelling mistake maybe?
string-ins (case-insensitive)
joequery commented
Hello!
x = ["A", "b", "C", "d", "E"]
x.sort()
>>> ["A", "C", "E", "b", "d"]
x = ["a", "b", "c", "d", "e"]
x.sort()
>>> ["a", "b", "c", "d", "e"]
Try it in a JS console
LukeXF commented
Ah okay, so it's if you want the strings to be alphabetical regardless of case sensitivity.
LukeXF commented
You probably should explain that a bit better in the documentation.
joequery commented
Most developers know what case insensitive string sorting is. And now you do :)
joequery commented
Also, case insensitive sort