merge sort…,…in|of_§by_

Definitions:

literal phrase ⇒ token, literal phrase ⇒ token, expression phrase ⇒ tuple, block phrase ⇒ []→boolean
Source: /avail/Avail/Foundation/Tuples
Categories: Tuples, Sorting
Construct and answer a sorted variant of aTuple using the merge sort algorithm and specified comparison function.
Position Name Type Description
Parameters
1 firstInputPhrase literal phrase ⇒ token A literal phrase holding a synthetic literal token whose value is the name of the first loop variable. The generated loop variable is given the strongest possible type based on the type union of the leading types and default type of aTuple.
2 secondInputPhrase literal phrase ⇒ token A literal phrase holding a synthetic literal token whose value is the name of the second loop variable. The generated loop variable is given the strongest possible type based on the type union of the leading types and default type of aTuple.
3 aTuple expression phrase ⇒ tuple An expression phrase that yields the tuple to sort
4 comparatorBlock block phrase ⇒ []→boolean A zero-argument block phrase that represents the body of the comparison function.
Returns tuple The sorted tuple.