start of cmp, and various other methods

Tuple: new bsearch, sort methods (default cmp block yet)