tgrosinger / md-advanced-tables

A text editor independent library to enable formatting and Excel-style navigation, and spreadsheet formulas to Markdown tables.
MIT License
149 stars 30 forks source link

Sort A-Z doesn't consider difference between upper and lower case characters #64

Open upaulnight opened 1 year ago

upaulnight commented 1 year ago

Describe the bug When selecting the Sort A/Z button it appears that lower case letters are considered to come after upper case characters, which is consistent with the ASCII hex codes, but not how a human would search.

To Reproduce Steps to reproduce the behavior:

  1. Create a table rows containing the cells, "Sample", "SAMPLE", and "SYZYGY"
  2. Select the column with any of these cells
  3. Sort by AZ through the Advanced Tables Toolbar
  4. See error of the order being "SAMPLE", "SYZYGY", "Sample".

Expected behavior I would expect "Sample" to come first or second with "SYZYGY" being last

Screenshots N/A

Desktop (please complete the following information):

Additional context N/A