Flipping line order

Shift list, shift path, relative item?
Nobody can tell you without your file…