minimal edit in place
bit of order