script: fix traditional sort

Change-Id: Iac95112c0201c36e6dce783887dbe0dc69ef3c3d
script: make osx devs happy

Change-Id: I8c565c6d277b99be8a462d414a49ca399cea30f7