Proper comparison between 2 strings of json data

Found an issue where the strings to be compared contained the right nodes and values, but not the same order.
This method should be used to compare any json test strings in place of String.equals().