script: fix traditional sort

Change-Id: I9701ec3c69b79644338f3add26dee75f0553e12c
Merge pull request #2 from CyanogenMod/cm-11.0

script: fix traditional sort