Refactored welder slot ordering