Comparing version 7.11.0 to 7.11.1
{ | ||
"name": "ka-table", | ||
"version": "7.11.0", | ||
"version": "7.11.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table", |
@@ -59,2 +59,5 @@ "use strict"; | ||
} | ||
if (typeof aValue === 'string' && typeof bValue === 'string') { | ||
return aValue.toLowerCase() < bValue.toLowerCase() ? -1 : 1; | ||
} | ||
return aValue < bValue ? -1 : 1; | ||
@@ -76,2 +79,5 @@ }; | ||
} | ||
if (typeof aValue === 'string' && typeof bValue === 'string') { | ||
return aValue.toLowerCase() > bValue.toLowerCase() ? -1 : 1; | ||
} | ||
return aValue > bValue ? -1 : 1; | ||
@@ -78,0 +84,0 @@ }; |
360399
7319