solved
array & Sorting