sort scripts in missions