lib: fix block reordering
0.4.6