Reorders variable declarations to have undefined variables created
first.