Sort a map of int

how can i sort a map of int from the biggest to the smalles?

var MyMap : [agent]int = map{}

is there a way?