title: How to sort methods into alphabetical order in VIM?
body: <pre><code>class MyClass
  
    def zzz
      # method body
    end
  
    def aaa
      # method body
    end
  
  end
  </code></pre>
  
  <p>How would I get VIM to organise these into alphabetical order such that the definition of aaa precedes the definition of zzz?</p>