Execute when the selected sort algorithm changes. Pass the newly sorted data and the index of the newly selected algorithm.
final void Function(List<Sortable>, int) onSortChanged;