Reverse order of segments