For ease of maintainability, attributes and methods declaration order should be as same as specification.
Similar work was done for input element:
Created attachment 129807 [details]
Maybe you can fix several IDL files in one patch at a breath (if you want).
Comment on attachment 129807 [details]
Clearing flags on attachment: 129807
Committed r109547: <http://trac.webkit.org/changeset/109547>
All reviewed patches have been landed. Closing bug.