Setter method for **self.__preserve_order** attribute.

        :param value: Attribute value.
        :type value: bool

def preserve_order(self, value):
        """
        Setter method for **self.__preserve_order** attribute.

        :param value: Attribute value.
        :type value: bool
        """

        if value is not None:
            assert type(value) is bool, "'{0}' attribute: '{1}' type is not 'bool'!".format("preserve_order", value)
        self.__preserve_order = value