I have a reactable table in an R Shiny app that looks like this:
Is there a way to add a row number or rank column that dynamically changes based on which column is sorted? So if the Carries column is sorted from high-to-low, the new column would have the player with the most carries as 1, the player with the second most carries as 2, so on and so forth.