Issue 5241 cant reorder categories on h2db

Fixed the issue.

Please check.