dictSort: Sort a dict based on its words Usage: sortedDict=dictSort(dict)
0001 function sortedDict=dictSort(dict) 0002 % dictSort: Sort a dict based on its words 0003 % Usage: sortedDict=dictSort(dict) 0004 0005 % Roger Jang, 20051114 0006 0007 [sortedWord, index]=sort({dict.word}); 0008 sortedDict=dict(index);