Add unit test to check custom response sorting order