prints lists in ascending lengths