HPCC-9990 Add an option to convert SORTED/DISTRIBUTED to ASSERT forms

Will create assertions for both SORTED and DISTRIBUTED i.e. as if the following
was used.

SORTED(ds, ..., ASSERT)
DISTRIBUTED(ds, ..., ASSERT)

Signed-off-by: jamienoss <james.noss@lexisnexis.com>
Merge pull request #5151 from jamienoss/issue9990-assert-sorted-distributed

HPCC-9990 Add an option to convert SORTED/DISTRIBUTED to ASSERT forms

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>