A string contains a combination of numbers, characters, and symbols. What is the optimal way to sort it, based on number?

前端 未结 0 669
借酒劲吻你
借酒劲吻你 2020-12-05 03:28

I have an example string:

"60 seconds,1;120 seconds,2;180 seconds,3;15 seconds,15;20 seconds,20;30 seconds,30"

I\'d like to sort it

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