Reorder member function declarations to match source order.