I have a script that creates an Excel file that gives the number of times each object attribute. In addition, my customer would like to have the list of attributes to be sorted in descending order based on the number of times it's used, but I haven't been able to find anything through Google on how to do this. I'm sure it's probably a single line of code that, when you have all the data in the file, you can then sort on a specific column in either ascending or descending order. I just don't know what that function is. Any help would be appreciated.