question: private int compareLabel ( JsonObject jsonObj1 , JsonObject jsonObj2 ) { String label1 = getLabel ( jsonObj1 ) ; String label2 = getLabel ( jsonObj2 ) ; return label1 . compareTo ( label2 ) ; }
target:  Compares the labels for the two given Json objects. Returns a negative integer if the first label lexicographically precedes the second label. Returns a positive integer if the first label lexicographically follows the second label. Returns zero if the labels are equal.