script: fix traditional sort

Change-Id: Icf6364a465aea7c6d59c3e3cac9221ca345c3c08
script: make osx devs happy

Change-Id: Id69374e9e7449b071f37defc040a59b3f6abd59c