0

I'm trying to sort a Dictionary with string as key, and another Dictionary as value(which contains int as key and string as value) by int in second dictionary(i.e. value). I was clueless in this task, help me out.

sg.dev
  • 319
  • 1
  • 2
  • 9
  • A dictionary [is not sorted](http://stackoverflow.com/questions/6384710/why-is-a-dictionary-not-ordered). So either your question is pointless or you should show what you have tried. Maybe we can suggest a different approach. – Tim Schmelter Nov 04 '15 at 11:08
  • first element can contain {1, 3, 4}, second{1, 2, 5}. How to sort? – Giorgi Nakeuri Nov 04 '15 at 11:09
  • all my int values are unique. Ex. <"A",<1,"abd">>, <"C",<3,"asd">>,<"X",<2,"sdl">> like this. what I wanted is sorted Dictionary. like A,X,C sort of this. – sg.dev Nov 04 '15 at 11:17
  • @user3774358, why are you using dictionary in this case? It is nonsense.\ – Giorgi Nakeuri Nov 04 '15 at 11:55

0 Answers0