sorting first attempt
sorting
lost a branch and found it