Test for success of sortby() call.