basic byte and numeric sort

includes tests for numeric sort

this implements #219