Hello,
Thanks for your help. Unfortunately, the problem remains. The “undefined offset” warning has gone, but the ordering does not work.
The drag n drop works fine, but after page refresh, nothing has changed. So I guess that has to do with the DB.
Just to note that I had installed the “Intuitive Custom Post Order” plugin, and after I removed it the WP Sort Order stopped working for custom taxonomy.