reorder methods in registry definition