Function 1: Ability to find common and uncommon elements between matrices
I am unaware of an inbuilt function that is capable of determining the common and uncommon elements between two or more matrices when they have uneven # of elements. The only way I am aware of achieving this in JSL is as follows other than actuallly throwing the data into data tables.
A = Associative Array(Random Index(10,6));
Show(A);
B = Associative Array(Random Index(10,6));
Show(B);
Intersection = A ;
Intersection << Intersect(B);
Print(Intersection << Get Keys);
The approach demonstrated @gzmorgan0 below applies only for matrices with same # of elements
Function 2: Ability to sort a matrix while retaining the position of the elements (https://community.jmp.com/t5/Discussions/Sort-a-matrix/m-p/85678#M38246)