sort method

void sort(
  1. String newValue
)

Implementation

void sort(String newValue) {
  sortBy.value = newValue;
  prepareTrips();
}