I have a PHP class with a bunch of methods. Currently they are in no particular order. I would (at least initially) like them to be in alphabetical order, so public function a() would come before public function b() and so on.
I'm sure I could write a script to do this but is there an existing program that can do it for me? All I can find is ways to sort individual lines.