script: fix traditional sort

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