script: fix traditional sort

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