Sort constructor
Sort algorithm MUST have a list of toSort
, direction of
sort isAscending
and a name for the sorting module.
Implementation
Sort(
{required this.toSort,
this.isAscending = true,
super.name = 'sort',
super.reserveName,
super.reserveDefinitionName,
String? definitionName})
: super(definitionName: definitionName ?? 'Sort_W${toSort.length}');