Sort this Iterable based on order.
order
Iterable<T> sortBy(Order<T> order) => [...this]..sort((x, y) => order.compare(x, y));