Awesome! This code really saved me a bunch of time and aggravation. Thanks for the help.
This requires your displayed data to be displayed in that sorted order, doesn't it? What if your data is displayed in a grid with several columns that can be sorted upon?