isaacs / github

Just a place to track issues and feature requests that I have for github
2.21k stars 129 forks source link

Sorting git code repository #2019

Closed theDreamer911 closed 3 years ago

theDreamer911 commented 3 years ago

Recently I was making a repository that track my daily challenge. But I had a problem, that the order is not like I expected like this

image

Is anyone know how to make the order in the GitHub repository to be right like this

image

I think there should be some way to sort what file we upload in GitHub, Is anybody know the solution?

Thanks

github-actions[bot] commented 3 years ago

GitHub staff are eager to continue in conversations and knowledge-sharing with you. We invite you to head over to Feedback Discussions and share your product feedback and questions directly with us (noted here). Once you have added your thoughts in Feedback Discussions, we ask that you close this newly-created issue. Otherwise, we will keep this issue open for the next 7 days, then will close it.

Levi-Lesches commented 3 years ago

Interesting. Maybe try naming them day01, day02, etc. so this doesn't happen? Currently, I don't know of any way to change the sort order.

theDreamer911 commented 3 years ago

Thanks @Levi-Lesches, I just got into day67 of day180, so if I follow your advice, I should change it all manually right?

My assumption is when it come into day101 this will be placed below day10? Is there any better way or how to change dictionary into day001, day002, and so on more automatically

That was a little overwhelming, but again, thank you

Levi-Lesches commented 3 years ago

Yeah you're right, when you hit the triple digits, it will mess up every number less than 100. Sorry, I don't know of any way to fix that, unless you consider storing your data some other way. I agree it's a bit confusing, but at least it doesn't impact any automatic data retrieval 🤷‍♂️.

theDreamer911 commented 3 years ago

Actually your idea is brilliant, perhaps I will do it in the free time and yeah I also can fixing the files name to make it more great

Thanks @Levi-Lesches

Levi-Lesches commented 3 years ago

Glad to help!

If you want this request to make it to GitHub though, be sure to open a discussion at https://github.com/github/feedback

michellemerrill commented 3 years ago

Closing per https://github.com/isaacs/github/issues/2019#issuecomment-893650712