Sort map by its value of type int

This does the trick
https://play.golang.org/p/hqqf5aoZAD7

2 Likes