Still changing array sort function.