script: fix traditional sort

Change-Id: I9701ec3c69b79644338f3add26dee75f0553e12c
honami: Track new msm8974-common repo & clean up

Change-Id: I707bbf595b07f214e2f036b8d7f7ccd078c55419