Fix for #300 - added sort by reference support to b2body.