www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@cgbrowser/doSortList.m
function doSortList(h,key,order) %DOSORTLIST Sort the main browser list % % DOSORTLIST(CGB, KEY, ORDER) sorts the main list of the browser. KEY is % the zero-based index of the column to sort by. ORDER is 0 for % ascending, 1 for descending. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. list = h.Hand.Figure.List; list.SortKey = key; list.SortOrder = order; list.Sorted = -1;