Sort listed scripts