You can renumber all layouts according to their current position in the Layouts panel in Setup mode; for example, after you have dragged layouts to different positions.
Procedure
Result
All layouts are renumbered according to their current position in the panel. Full score layouts, custom score layouts, and part layouts are all numbered separately.