I have a Dictionary:
A = Dict("1" => 0.1,
"11" => 0.1,
"13" => 0.1,
"15" => 0.1,
"17" => 0.1,
"19" => 0.1,
"3" => 0.1,
"5" => 0.1,
"7" => 0.1,
"9" => 0.1)
I want to sort it according to its numerical keys. I tried this:
sort(A)
But it comes out as:
OrderedCollections.OrderedDict{String, Float64} with 10 entries:
"1" => 0.1
"11" => 0.1
"13" => 0.1
"15" => 0.1
"17" => 0.1
"19" => 0.1
"3" => 0.1
"5" => 0.1
"7" => 0.1
"9" => 0.1
But I want:
OrderedCollections.OrderedDict{String, Float64} with 10 entries:
"1" => 0.1
"3" => 0.1
"5" => 0.1
"7" => 0.1
"9" => 0.1
"11" => 0.1
"13" => 0.1
"15" => 0.1
"17" => 0.1
"19" => 0.1
How do I do this?