I am trying to ordery by index and reset the dictionary by not re-iterating through the dictionary to set values again. So how can I achieve below. <br /><p><br /> </p><p><br /> </p>colorDictionary = colorDictionary [color.Key].OrderBy(f => f.Index);