Fixed issues where removing items would cause order to change by ordering by the first item purchased but removing from the last item purchased to the first