I have the following indentured list

1 part123
2 part127
3 part129
3 part134
3 part213
4 part2134

Need to convert to

1 part123 2 part127
2 part127 3 part129
2 part127 3 part134
2 part127 3 part213
3 part213 4 part2134

This will allow me to import to a drawing tree or org chart in Visio
If you can point me in the right direction I would be happy happy happy!