script: fix traditional sort

Change-Id: Ic4ef9bc4d56fdf8e3671defa6a577ed4db011fa0
script: make osx devs happy

Change-Id: Ib4f3361fcd02c1cdae820e5518528bfed44ef162