Added list to array and now sorting.