Question

Write a function that sorts list of strings according to string length and then lexicographically?

Login to Submit

Examples

Input: [dd, ee, a, b, c]
Output: [a, b, c, dd, ee]