File Exchange

image thumbnail

Case insensitive sort function

version 1.1 (539 Bytes) by

Case insensitive sorting of a cell array of strings.

1 Download

Updated

View License

Matlab's SORT function returns first upper case contents and then lower case. SORTI will sort by alphabet without considering the case
For example
sort({'A' 'a' 'B' 'b'})
will return
{'A' 'B' 'a' 'b'}
while SORTI will return
{'A' 'a' 'B' 'b'}

25/3/2014 Update: Now also returns the index vector I as in the SORT function

Comments and Ratings (1)

Michio

Michio (view profile)

Updates

1.1

25/3/2014 Update: Now also returns the index vector I as in the SORT function

MATLAB Release
MATLAB 8.1 (R2013a)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video