Sort Working Files locale-aware

For #8955.
Tested with German and Swedish locale.