implemented xTabulate, addded two good tests
added a preliminary version of xSortBy, using insertion sort.g
implemented xSort, and several tests. slow, but effective.