Desktop file generation is non-deterministic - translation positions may vary
across builds. This makes the build non-reproducible.
The cause is the use of glob() which collects qm file paths in a random order,
depending on the filesystem. To ensure the translations are written in a fixed
order the list returned by glob() must be sorted.