public class ConvertToSequence
Convert a set of values to a sequence. Two approaches are supported:
(a) if "singleStepsequenceMode" is true - convert each record independently, to a "sequence" of length 1
(b) otherwise - performa "group and sort" operations. For example, group by one or more columns, and then
sort each value within the group by some mechanism. For example, group by customer, sort by time.