title: How to get the position of a row after sorting the table?
body: <p>I have a table like this</p>
  
  <pre><code>ID            TOTALMARKS
  ___           __________  
  12            623
  32            350
  14            944
  11            540
  17            549
  </code></pre>
  
  <p>I  want to sort the data of the table in the descending order of the TOTALMARKS and then after sorting it I want to get the position of the specific ID.</p>
  
  <p>In this case, 944 is the highest TOTALMARKS of ID 14, hence its position will be 1st (which will be on the top after sorting). Hence, what I want is, just the position of the corresponding ID after the TOTALMARKS is sorted.</p>
  
  <p>Here, when I want to know the position of ID 17 then I will expect the result as 3.</p>