script: fix traditional sort

Change-Id: I9701ec3c69b79644338f3add26dee75f0553e12c
script: make osx devs happy

Change-Id: If8fabbd93bf118d66111e213cdc4490a573cc4a6