documentation for middleware reordering recipe

addresses #45