Sort functions in doc index frames

Changed to sort the list of functions for each module in the lefthand
frame of doc pages, for easier and more reliable browsing.