better ordering of maps