Siemens Interview Question

1)Use polymorphism to create a class that sorts the given array