script: fix traditional sort

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