title: Linq expression to validate if list is ordered ascending or descending
body: <p>I have a <code>IEnumerable&lt;DateTime&gt;</code> var that I need to validate if it is sorted ascendingly or descendingly.</p>
  
  <p>I can do this using a for loop but is there a way to do this using LINQ expression?</p>