script: fix traditional sort

moving on parent scrits

Change-Id: I6af3542caf10d53d92428c5eeb6b28350192b0e0
Update for AOSPA