fixing list numbers and sorted