test that encoding sorts in the same typewise order
use bops
use bytewise, to support TypedArray
Merge pull request #4 from dominictarr/master

use bops to support binary operations on TypedArrays