dynamodb: Fix #212 Iterate over sorted keys by action for stable testing

See http://golang.org/doc/go1.3#map