Fixed spelling error & made dictionaries sorted