Fix failing shortcode tests on Travis

Some newly added shortcode tests compared maps in assertions.

This failed on Travis, as iteration order isn't guaranteed for maps since Go
1.

This commit fixes that by do a sort of the keys in the shortcode String()
function.