Question: Is there a way to control the order in which files appear in a gist? They don't seem to be alphabetical or chronological. I'd like to have a README.md appear as the first file in [a multi-file gist](https://gist.github.com/Sinetheta/6003037), but no amount of "deleting" a file and re-adding it seems to change anything.

Is there an order to these files that I'm not seeing, or does GitHub maintain an internal filetype priority list?

Answer: 
They are ordered automatically by name, following the [ASCII table](https://en.wikipedia.org/wiki/ASCII#Printable_characters). 

Unfortunatly, right now, it is not possible to order them by dragging, but there is a trick. You can control the order by adding one or more spaces before the name. The space will not be shown after editing, but the order will change.

E.g: lets say we have 3 files with the automatic order:

* AFile.java
* Readme.md
* SomeFile.txt

We can invert the order by putting spaces like this:

* (space)(space)SomeFile.txt
* (space)Readme.md
* AFile.txt
As mentioned by @VonC in his answer, the order is asciibetical. Quick solution would be to prefix all files with numbers indicating the order in which you wish the files to appear, example 0\_, 1\_, 2\_, ... 9\_. Note, this solution will not work beyond 9 files as 10\_ will appear before 2\_. In that case, two digits need to be used 00\_, 01\_, 02\_, ..., 09\_, 10\_, 11\_, ... This can be generalized to any number of digits in the number of files. Although, it seems less likely, to me, that more more than 10 files to be shared in a gist.