randint(1,50)
makes one random number from 1 to 50. SortA works on a list, which is several numbers in an order. lists are denoted by curly braces, {} and the elements, or members of the list, are separated by commas.
I think what you want is something like this:
randint(1,11)->e
randint(1,11)->ee
randint(1,50)->eee
randint(1,50)->nn
randint(1,50)->nnn
randint(1,50)->nnnn
randint(1,50)->nnnnn
{e,ee,temp,nn,nnn,nnnn,nnnnn}->temp ;put all of the varibles into a list
disp temp
SortA temp
disp temp
which could be optimized to
randint(1,50,7)->temp ;get 7 random numbers from 1 to 50 and store to temp
disp temp ;display the initial state of temp
SortA temp
disp temp ;display the end, sorted state of temp.