Change valueSwap method to valueShouldSwap which will replace the boolean check on alphabetical order in ValuedHeapNode's 'add' method.