Delete the char | from the "description" (instructions) of sorting
Since we format the data with the char "|", we need to disallow the chance to write it in the description (instructions) of the sorting.
A js solution with the visualization of the process is better.