Made DocSentence WritableComparable