#### 7.3.13 SortWith

• SortWith( <keys list>, <list>, <packets size> [, mode] ).
• Description: sorts the variable <list> following the <keys>). Elements in the <list> are handled by <packets>, the element number $i$ in the keys list, is the key of the number $i$ packet from the <list>. The <packet size> is 1 by default; it can be jump then each packet handled is a whole component. If a packet is not complete, it is not treated. If the list contains the constant jump, then all the components are also sorted. The last parameter is the sort type: <mode>=0 for ascending order (default value), <mode>=1 for descending order.