Info
This question is closed. Reopen it to edit or answer.
Sorting numeric data in char form
1 view (last 30 days)
Show older comments
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/204077/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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!