fix sorting in cart man