title: i need to return column number from sorting selected row
body: <p>i have a table like this:</p>
  <pre><code>| uid |    date    |
  +-----+------------+ 
  | 032 | 16-04-2022 |
  | 453 | 15-04-2022 |
  | 425 | 13-04-2022 |
  | 563 | 14-04-2022 |
  </code></pre>
  <p>i need to sorting them and return with new column like this:</p>
  <pre><code>| uid |    date    | num |
  +-----+------------+-----+
  | 425 | 13-04-2022 |  1  |
  | 563 | 14-04-2022 |  2  |
  | 453 | 15-04-2022 |  3  |
  | 032 | 16-04-2022 |  4  |
  </code></pre>