Sort the keys of the extra parameters and adjust the test to assume that