Return an array with strings listed from shortest to longest. if the string is of equal length it should be sorted alphabetically

前端 未结 0 1615
礼貌的吻别
礼貌的吻别 2021-01-03 06:09

Ive gotten the sorting of the array to work. Now im trying to add a part to sort them alphabetically when the strings are of equal length. Can someone help me with that part

相关标签:
回答
  • 消灭零回复
提交回复
热议问题