change map to sortedmap