Skip to content

Add sort by gist description or file extension alphabetically option. #155

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joshmfrankel
Copy link

Added two methods into helpers.py: set_sort_data and sort_gists_data. The first helps prepare the code for proper sorting. It is called inside gists_filter() method for loop. Second method performs the actual sorting logic. It is called at the end of gists_filter() method.

Also have added documentation to README.md and Settings Usage in Gist.sublime-settings.

I am new to python programming so optimizations and/or fixes are greatly appreciated.

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

Successfully merging this pull request may close these issues.

2 participants