Allow setting vr when creating or updating tag values
Sort elements when writing