I am looking for a method to pass property itself to a function. Not value of property. Function doesn\'t know in advance which property will be used for sorting. Simplest w
Why don't you use Linq for this? Like:
vehicles.OrderBy(v => v.maxSpeed).ToList();