Yaml Comparator fix

New Comparator for yaml testing
tests updated to work with new comparator
output_already_sorted now compares output with result without sorting
output now compares output with result after sorting