always reorder bind parameters. fixes #15920