sortBy method

void sortBy(
  1. SortBy sortType
)

setSortedBy is used to set the sorting type.

SortBy{ name, type, date, size } ie: controller.sortBy(SortBy.date)

Implementation

void sortBy(SortBy sortType) => _short.value = sortType;