Set a sort order for the samples.json file's content 2

This PR follows #1313.
It appears that the change made in #1313 wasn't sufficient.
This PR contains three others `sort!` instructions (for the files inside the language directories and for the tokens).

This time I checked using several system that the `samples.json` doesn't change from one generation to the other. @arfon If this works, if you regenerate the `samples.json` file after this PR, it shouldn't change at all.