List Sorter:

Input:

Separator:

Output: