script: fix traditional sort

Change-Id: I9701ec3c69b79644338f3add26dee75f0553e12c
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_device_sony_honami into android-4.4