0

On my repo hosted on Github I have uploaded my files and it now resembles the following:

folders

I would like if these folders were to appear in the same way as they appear on my desktop.

To specify in Numerical order,

1, 2, 3, 4, 5, 6, 7 ... 100

My research on accomplishing this, revealed this feature has yet to be implemented (ex, ex, ex).

According to the following stack question:

How do you control the order in which files appear in a GitHub gist

The folders are by default sorted in ASCIIbetical order.

aitía
  • 217
  • 2
  • 8

1 Answers1

2

The folders are by default sorted in ASCIIbetical order.

Exactly what I mentioned indeed.

That means you need to come up with a different naming convention, which would allow the natural sorting order you are after.

Example:

001
010
011
012
100

And, as I mentioned here, you can rename a file directly on GitHub if you want.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I had not thought about doing this! Thank you for your response. – aitía Sep 01 '18 at 20:52
  • Further I learn: https://stackoverflow.com/questions/31861651/how-to-rename-a-directory-folder-in-githubweb/32620165 – aitía Sep 01 '18 at 21:02
  • 1
    @aitía Indeed, well done. I mentioned that in 2013: https://stackoverflow.com/a/15442368/6309 – VonC Sep 01 '18 at 21:40