Class is an Object too, so

  MyClass.methods.sort.each {|m| puts m} 

T.