I'm using the rPivotTable package to create an interactive dashboard with Flexdashboard and Shiny. I created three versions of the same table with aggregations by different attributes. The last two versions refer to the same table, just sorted differently. I'm using the "rowOrder" option to sort the tables. In the first table I used the parameter "key_a_to_z" and it worked. The second table I used "value_a_to_z" to sort by the "Total" column. The third table is the same as the second, only the ordering should be descending. I tried using the "value_z_to_a" parameter but it didn't work. It was the same as the second. Is there a problem or am I doing it wrong?