Process line-separated lists: sort alphabetically or numerically, remove duplicates, reverse order, shuffle randomly, add prefix/suffix to each line.