Compares the ids of two #GHook elements, returning a negative value if the second id is greater than the first.
a #GHook to compare with @new_hook
a value <= 0 if the id of @sibling is >= the id of @new_hook
See Implementation
Compares the ids of two #GHook elements, returning a negative value if the second id is greater than the first.