script: fix traditional sort

Change-Id: Icd80cce68c801cec799679d982ca0b5febf3cd51