Pivot Table sorting the rows in ascending/descending order

Add simple JavaScript code to sort pivot tables by ascending/descending order! Message me or leave your contact information in the comments below.


Hi Carson, I would love to know how you do this. I have a pivot table showing sales results for a team of sales people. Right now I have the table rows set up by sales person name, however it sorts by alphabetical order of sales person name. I would like it to sort by total sales from highest to lowest. Can you assist?