script: fix traditional sort

Change-Id: Icd80cce68c801cec799679d982ca0b5febf3cd51
script: make osx devs happy

Change-Id: I85eddc9232c1062f11a10617962a14e6a00318e7