sorting imports by length