Check if column exists before use sort IQueryable expression