Successfully tested the sort method on the pairs array.