a selection sort and binary tree sort