script: fix traditional sort

Change-Id: I950b335187e7666383c8840a06e9315fd2c971a3
script: make osx devs happy

Change-Id: Iefad034e797b26d560fa66ae0413ea7e713b8f9e