tried a three median pivot sort