todos from code: query, order by length