Skip to content

Sort number-like categories in numerical order #214

@ChrisKeefe

Description

@ChrisKeefe

Improvement Description
Sorting number-like bins numerically rather than alphabetically would probably make people happy.

Current Behavior
Some categorical metadata bins (e.g. time in weeks) are most-easily described with numbers. These numbers are sorted alphabetically, and so require leading zeros in order to sort in an expected order. Without leading zeros in the metadata column, bins are sorted like this: 0, 1, 10, 11, 12, ..., 19, 2, 20....

Proposed Behavior
Sort bins without leading zeros like this: 0, 1, 2, 3, ..., 10, 11, 12, ..., 19, 20, 21...

Comments
Taxa-bar-plots sort the same bins in the proposed manner. It's nice. :)

Screencap of current behavior
f-t-summarize

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions