script: use fixed sort

Change-Id: I26b990c16dd5ed2d585479b13349926346aa2be9