I feel extremely stupid seeing all the scary advanced VB around here, but I thought I'd post this anyway... I'm trying to sort a list of files by page number, title, or source, depending on which command button the user clicks at the top of each column. (Like in Windows Exporer when you're viewing a directory.) I've got something that works, but it's really long and inefficient for what seems like is a pretty simple task. I attached the procedure for sorting by page number as a text file. It's really messy, and I think I declared a few variables that I never use, but if someone could tell me just how much easier this could be done, I would be very happy.