final upload version

sort function implied without binary search
merge not finished