Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort number-like categories in numerical order #214

Open
ChrisKeefe opened this issue Jun 11, 2019 · 1 comment
Open

Sort number-like categories in numerical order #214

ChrisKeefe opened this issue Jun 11, 2019 · 1 comment
Labels
bug-sev:1|negligible bug-type:1|cosmetic UX is less than ideal; something is superficially wrong. scope:0|this-project No other repositories are impacted. src:self From the original poster. type:improvement Making something better.

Comments

@ChrisKeefe
Copy link
Collaborator

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

@ChrisKeefe ChrisKeefe added bug-sev:1|negligible bug-type:1|cosmetic UX is less than ideal; something is superficially wrong. scope:0|this-project No other repositories are impacted. src:self From the original poster. type:improvement Making something better. labels Jun 11, 2019
@colinbrislawn
Copy link

colinbrislawn commented Oct 21, 2024

This is also an issue with qiime feature-table tabulate-seqs

If I've posted this in the wrong issue, feel free to move it!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-sev:1|negligible bug-type:1|cosmetic UX is less than ideal; something is superficially wrong. scope:0|this-project No other repositories are impacted. src:self From the original poster. type:improvement Making something better.
Projects
None yet
Development

No branches or pull requests

2 participants