Fixed #5. Sorting a bookmark into a parent now works. Invert too.