two wall method groups pivots but the rest of list not always sorted correctly