"Data M: 'the cat sat on the mat' Order N: 'mat cat' --> 'the mat sat on the cat' Data M: 'the cat sat on the mat' Order N: 'cat mat' --> 'the cat sat on the mat' Data M: 'A B C A B C A B C' Order N: 'C A C A' --> 'C B A C B A A B C' Data M: 'A B C A B D A B E' Order N: 'E A D A' --> 'E B C A B D A B A' Data M: 'A B' Order N: 'B' --> 'A B' Data M: 'A B' Order N: 'B A' --> 'B A' Data M: 'A B B A' Order N: 'B A' --> 'B A B A'"