Sort the list by priority ascendingly.
Wrap the line before showing the prompt.
Change the priority regex to allow numbers.