sort and array and strings