Skip to content

Sort by numeric values #22

@fiegam

Description

@fiegam

When data are provided as a table, sorting by numeric column returns data in incorrect order. This is caused by invalid sorting conditions in the _refreshData function:

if ($.isNumeric(aVal)) {
      if (aVal < bVal) {
              return 1;
      } else if (aVal > bVal) {
              return -1;
      }
      return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions