Added sorting of the scripts list.