non recursive array sort