A class to sort arrays and to compare variables of different data types. Using generic data type {?} allows to reduce code to a single function which can handle variables of the most of data types in one (INTEGER, REAL, BYTE or STRING).

-- '===================== Sort using recursion - can not be used for large data'
Using too deep recursion leads to stopping a function since a maximum recursion level is restricted in AL-IV (usually by 128 levels). Though this does not lead to crashes of an application immediatelly, the array will not be sortwed (or its sorting will not be finished). So, for large arrays (and always) use the function <b>Sort</b> from the above section.

--------------------------------------------- 'maximum, minimum of two numbers'
