In my Google sheet, I have 2 columns, A and B, which I would like to sort descending by values of Column B. This I know can be done using filter/sort options in sheets. This works as expected but this is a manual step that should be repeated every time data in column B changes.
I would like all rows to be automatically sorted when data in Column B changes. Any ideas to do this?
Example of data in column A and B
Team Score
Team A 13
Team C 12
Team B 11
Team D 5
sheet.sort(columnPosition, ascending)(doc) will sort your sheet by column. Don't be put-off by the "ascending" reference, you can specify ascending or descending.