Adding the sorted List