Do not exit after list.
Do sorting with awk/sort/cut to speed up.