I did something funny. I took a simple phrase.
HELLO, WORLD!
I generated all rotations of the string.
HELLO, WORLD!
ELLO, WORLD!H
LLO, WORLD!HE
LO, WORLD!HEL
O, WORLD!HELL
, WORLD!HELLO
WORLD!HELLO,
WORLD!HELLO,
ORLD!HELLO, W
RLD!HELLO, WO
LD!HELLO, WOR
D!HELLO, WORL
!HELLO, WORLD
Then I sorted the strings.
WORLD!HELLO,
!HELLO, WORLD
, WORLD!HELLO
D!HELLO, WORL
ELLO, WORLD!H
HELLO, WORLD!
LD!HELLO, WOR
LLO, WORLD!HE
LO, WORLD!HEL
O, WORLD!HELL
ORLD!HELLO, W
RLD!HELLO, WO
WORLD!HELLO,
And I collected the last character of each line. I got the string:
",DOLH!RELLWO "
As you can see, it is the original message scrambled. But this was just an example. I did the same thing with a much longer message and I got the following string:
"DFKDKKWHKAADD UDD UUUU LLOOOOIC?CCCC CCCCUU OOOOWWWWWCHMHHHHOOO "
Can you tell me what the message was?