title: How to receive messages in descending order according to time received
body: <p>This controller prints list of messages</p>
  
  <pre><code>public ActionResult Index(string username)
  {
      User user = db.Users.Include(u =&gt; u.Messages).Where(u =&gt; u.Username == username).FirstOrDefault();
      user.Messages ??= new List&lt;Message&gt;();
      return View(user);
  }
  </code></pre>
  
  <p>User model contains List of Message. Message model contains TimeReceived. How to edit the Linq to send List of messages in descending order of TimeReceived?</p>