Dimensions with array

Made the order of printing for the format %#v stable.