% ex25.m fable=['once ';'upon ';'a ';'time ';'there';'lived';'three';'bears']; sorted=sortrows(fable); disp(sorted);