Sort package lists and show counts