script: fix traditional sort

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