Sort list of input files
While working on reproducible builds for openSUSE, I found that the godot package differed for every build. These patches fix most issues by sorting lists of input files.
There is also a correctness fix included. Without that, sorting failed, because str < list
is not a valid python operation.
See individual commit messages for details.