Sorting numeric data in char form

Capture.PNG
I want to sort data as per row 1 which should give result as below-
'-25~0'
'0~25'
'25~50'
'50~75'
'75~100'
'100~125'
'125~150'
'150~175'
Sortarray instruction is giving following result-
'-25~0'
'0~25'
'100~125'
'125~150'
'150~175'
'25~50'
'50~75'
'75~100'
Does anyone has solution for this?
Note: All the data is in character form.

回答(0 个)

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by