better test for list.sort