Sort String list with Numeric Values

前端 未结 3 1628
小鲜肉
小鲜肉 2021-01-17 23:55

I have a list of string, which is most likely, but not guaranteed to contain a list of numerics, i.e.,

{\"1\", \"6\", \"2\", \"21\", \"89\"}
3条回答
  •  醉话见心
    2021-01-18 00:37

    You want to sort elements, just like Windows XP Explorer does with files. See this article on how to do this.

提交回复
热议问题