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

filesorter.py sorts incorrectly #541

Open
lfrank opened this issue Nov 12, 2020 · 5 comments
Open

filesorter.py sorts incorrectly #541

lfrank opened this issue Nov 12, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@lfrank
Copy link
Collaborator

lfrank commented Nov 12, 2020

The current sort sorts by length first, then the item. It should be item, len(item)

@lfrank lfrank added the bug Something isn't working label Nov 12, 2020
@aleksandercwikla
Copy link
Collaborator

Hi Loren!
If we use (item, len(item)), you will get bad order. e.g.:
a1, a10, a2
instead of
a1, a2, a10

@lfrank
Copy link
Collaborator Author

lfrank commented Nov 13, 2020 via email

@lfrank
Copy link
Collaborator Author

lfrank commented Nov 13, 2020 via email

@aleksandercwikla
Copy link
Collaborator

Should I change the type of sorting to the one you have indicated?
Please consider renaming your datasets to similar structure as those you have provided us with.

@lfrank
Copy link
Collaborator Author

lfrank commented Nov 16, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants