tidytab
tidytab copied to clipboard
Enhancement Request: Add sorting functionality to tab function
In the tab function, it would be beneficial to include a new argument (sort = TRUE) to display the table in descending order of frequency. This enhancement would be similar to the count() function in tidyverse, where the sort argument defaults to FALSE. This addition would improve usability and provide users with more flexibility when working with tabulated data.
Hello @theshiniss, thank you for your interest in tidytab and for the feature request. I agree that a sort argument to tab() would be useful.
Would you be able to submit a pull request that implements this feature?