Thanks for the bug report, we’ll check this issue. You shouldn’t drag databases into the Sorter, only groups.
To fix the problem, quit the Sorter (kill it via Apple’s Activity Monitor if necessary) and delete the folder ~/Library/Application Support/DEVONthink Sorter.
WARNING: Only if the Sorter doesn’t contain any data!