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

Reverse Numerical Sorting? #31

Open
raveling opened this issue Jun 16, 2016 · 1 comment
Open

Reverse Numerical Sorting? #31

raveling opened this issue Jun 16, 2016 · 1 comment

Comments

@raveling
Copy link

Hey there!
Really handy project you have here.
Are there any plans in the pipeline to offer sorting by reverse numerical order?
I'd like to have something like:

9_imagefile.jpg
8_imagefile.jpg
7_imagefile.jpg
6_imagefile.jpg
5_imagefile.jpg

Be the display order, so that newer content (higher number) is displayed at the top.

Thanks for any feedback you can offer!

@raveling
Copy link
Author

I changed the sort to sort -nr on lines 237, 331, 439 and that seemed to do the trick for now.
Would be great to have that be a configurable option up near the top of the script.
I'm no expert in shell/bash - best I can offer in terms of a contribution!
Thanks for the handy repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant