Looking for refactoring tool: Sorting functions bodies in implementation
===

is there any tool able to sort function bodies in implementation for C# or C++?
It may be even a perl, AWK or any other script.


Thank you.

PS: 
The goal is, to "normalize" code from supplier bevore making change/effort statistics. May be there is even a tool for that?