UltraFreshSorting

Given a list of strings (input), sort them alphabetically, but prioritize using another list of strings (PRIORITY) and avoid repeating prioritized values

Priority

Drag and drop to order

Input

Press enter to separate values


Output

Result with priority values

Nothing to show (︶︹︶)