Schema and type system for creating sortable byte[]