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

sorting the names #558

Open
Darrkzero opened this issue Aug 15, 2022 · 8 comments
Open

sorting the names #558

Darrkzero opened this issue Aug 15, 2022 · 8 comments

Comments

@Darrkzero
Copy link
Contributor

the names should be sorted alphabetically when the refresh button is clicked

@Oluwasetemi
Copy link
Owner

Good suggestion. What are your ideas around achieving this?

@Darrkzero
Copy link
Contributor Author

using node.js to read and edit the text.txt file should be able to achieve it

@Oluwasetemi
Copy link
Owner

You can check the sorted.js file. I have an implementation for that and it includes read and writing with nodejs. Let me know what should be done. Next. Thanks for jumping on this issue.

@Oluwasetemi
Copy link
Owner

I will close this issue @Darrkzero. Waiting for your response.

@Darrkzero
Copy link
Contributor Author

the sorted.txt file is perfect. You can create a different button to switch from text.txt file to sorted.txt file to make the names appear in alphabetical order.

@Oluwasetemi
Copy link
Owner

Yes that will be a great one but we could use JavaScript to sort it on the fly and replace instantly.

@Darrkzero
Copy link
Contributor Author

That will also work.

@manlike-samm
Copy link

Attempted this in #743. Kindly review and give feedback. Also, i don't know if the ordered.js and sorted.txt files are needed anymore.

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

3 participants