Info

This question is closed. Reopen it to edit or answer.

Sorting numeric data in char form

1 view (last 30 days)
Shritesh Jibhkate
Shritesh Jibhkate on 13 Feb 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!