How do I automatically sort methods by header?

Viewed 2682

It is good style to sort methods in header files in the same order as in the .cpp file, but often this order gets crude during development.

How can I reorder the methods in the cpp file to the order given in the header file?

3 Answers
Related