Sort the methods and attributes of classes in the class summary

Otherwise, they just show up in arbitrary dictionary order, which isn't very useful.

Module summaries is not updated to be sorted, since there the elements show up in file order, which may be more useful than alphabetical order in many cases.