joequery/Stupid-Table-Plugin

what is string-ins?

LukeXF opened this issue · 5 comments

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)

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

Ah okay, so it's if you want the strings to be alphabetical regardless of case sensitivity.

You probably should explain that a bit better in the documentation.

Most developers know what case insensitive string sorting is. And now you do :)