Delegate with Task problem
I decided to work with delegates. I chose to do different kinds of sorting. I made a Sort class, where the name and the SortMethod response are located, but when I started to look at the results, I saw that the sorting that was not performed until that moment of output is simply not output (an error appears on result = null). Does anyone know why var result = await sortDelegate.SortMethod; doesn't work?

