Allow assert_result_links to skip order checking

This is for tests where we dont care about the returned order of the
results.