Rewire BType in its new location with the rest of the backend

remove now-empty BCodeGlue
add _SORT to sort constants for clarity