Basic Examples (3)
Basic Examples
(3)
Sort a list like another list:
In[19]:=
Out[19]=
{2,1}
———
Sort names according to an existing list:
In[20]:=
Out[20]=
{Sushma,Rick,Danny,Bob,Paco}
———
Create an operator:
In[21]:=
sorter=[{"Apples","Bananas","Grapes"}]
Out[21]=
Sort some fruit:
In[22]:=
sorter[{"Watermelon","Grapes","Apples","Blueberries"}]
Out[22]=
{Apples,Grapes,Watermelon,Blueberries}
Scope (1)
Scope
(1)