testing array sort