toJsonArray

Returns a json array in sorted order of the tag values.