added sort by length