Sort dictionary files.