How to sort a user Created List<UserClass> Collection in C#
<p>I wish to sort the collection <code>List&lt;UserClass&gt;</code></p>

<p>on the basis of one of the property among various of that UserClass which is User Defined.</p>

<p>Is it valid</p>

<pre><code>List&lt;Function&gt; objFunctionsList = new List&lt;Function&gt;(); 

// populating data in objFunctionsList 

objFunctionsList = objFunctionsList.OrderBy(x =&gt; x.Name).ToList();
</code></pre>
