I wasn't able to sort the views in alpha order, so deleted the views and recreated them in alpha order. Not as slick as the function above, but it worked for me. I still used the above function to display the views. It's still a great piece of code.