Updated Comparable Code

Should now be more compatible with child/descendant sort properties.