Semantically reorder method defs