Keep dictiories sorted.