script: fix traditional sort

moving on parent scrits

Change-Id: I6af3542caf10d53d92428c5eeb6b28350192b0e0
Merge pull request #3 from CyanogenMod/cm-11.0

script: fix traditional sort