script: fix traditional sort

Change-Id: I5d7e1cb4fa9d110e1f72945acb6787b25989dffd
Merge branch 'cm-11.0' into kk_mkt