script: fix traditional sort

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