clear; clc;

stocks = {'TSMC', 200;
          'AAPL', 180;
          'GOOG', 210}
[~, idx] = sort([stocks{:, 2}])
stocks(idx, :)