Task 1 – Sorting function
Write a program that uses a higher-order function to sort a list of towers in Steve’s game based on their damage output. The sorting function should be passed as a delegate.
Write a program that uses a higher-order function to sort a list of towers in Steve’s game based on their damage output. The sorting function should be passed as a delegate.