Returns the value for the specified property. I would use reflection but that takes more overhead since this will be used in sorting.