Gather¶ Groups identical elements together, maintaining order of first appearance. $ wo 'Gather[{1, 1, 2, 2, 1}]' {{1, 1, 1}, {2, 2}} $ wo 'Gather[{a, b, a, c, b}]' {{a, a}, {b, b}, {c}}