sorted row types by length to start implementing hierarchical tree structure