positiveOnFirstSmallest

Creates a DistributeBySign configured to distribute/allocate the difference units in the allocations list as follows:

  • Positive difference: on the first item with the smallest value

  • Negative difference: on the last item with the greatest value

Return

A DistributeBySign.