title: How can I do an inline sort?
body: <p>I would like to take a list, re-order it and replace the original.</p>
  
  <p>Is there a better way to do this? Currently I am re-assigning it and it feels silly...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>var viewModel = new ViewModel();
  viewModel.Children = viewModel.Children.OrderBy(x =&gt; x.Name).ToList();
  </code></pre>