I modified Form1 you made. I just added a popup menu, and it is linked to ValueListEditor1.
You may click any cell of the ValueListEditor1, then right-click mouse, then press sort. You'll see what I'm talking about.
Precisely speaking, the Sort does not change the content of cell that is focused, when the "sorting" is carried out with TValueListEditor focused.