Added a sorting array script