sort - 2 - array.sort changed to array.sort_by