Given a List of objects, how can I find the index of any particular object?
<p>Ok, there is probably a better way of doing this, and if this is please let me know!</p>

<p>I have a List of <code>Users</code> (an entity framework entity within my system). Each <code>User</code> object has certain properties. I need to rank all users based on these properties one by one (who made the most sales etc etc)</p>

<p>At the moment I am thinking that the best way to do this is to reorder the List using LINQ's OrderBy extension method on the property that I am ranking on into a new list. Once this is done I should be able to get the position of the user within this newly ordered List, which will be a indication of their rank. (I know its going to get more complex when users have the same value for said properties)</p>

<p>The question is, how?</p>

<p>Thanks!</p>
