(
unique values of (“steak”; “chop”; “rib”; “rib”; “rib”),
multiplicities of unique values of (“steak”; “chop”; “rib”; “rib”; “rib”)
)

Tuples (denoted by the comma delimiter) form a cross product of the elements in each field. So in the case above you evaluate to the intermediate result:

( ( “chop” ; “rib” ; “steak”) , ( 1 ; 3 ; 1) )

Taking the cross product of the two lists above will give you the first answer you posted.

Incidentally, the reason you get the ordering above is that, as a byproduct of the underlying implementation, the unique values inspector will sort the results.

For your second example:

(Unique values of it, multiplicities of unique values of it) of (“steak”; “chop”; “rib”; “rib”; “rib”)

In this case you are iterating over each item in the list of meats. For each individual item you are asking for the unique value and count of a single item, which will always be just the item and a count of 1. Which you can see is exactly the result you got.