prove: btsort is indeed a sorting function.