Moved SimpleSortedMap out of the class

Simple Sorted Map is needed in the main window too so it's pointless to have it here