Reorder declarations.