sort method
Implementation
void sort(String? field, String? type, bool? ascending) async
{
if (_dataset == null || _dataset!.isEmpty || field == null) return;
busy = true;
sort_transform.Sort sort = sort_transform.Sort(null, field: field, type: type, ascending: ascending);
await sort.apply(_dataset);
busy = false;
}