Context:?
- The Sorter class is the context. It doesn't perform the sorting itself but
delegates it to whatever strategy is currently set. The client can change the
strategy dynamically, making the system flexible and extensible.
delegates it to whatever strategy is currently set. The client can change the
strategy dynamically, making the system flexible and extensible.