def set_order(value, reorderable=None):
    """Makes the folder orderable and sets its order to the list of
        names provided in value. Names should be existing names for objects
        contained in the folder at the time order is set.

        If ``reorderable`` is passed, value, it must be ``None``, ``True`` or
        ``False``.  If it is ``None``, the reorderable flag will not be reset
        from its current value.  If it is anything except ``None``, it will be
        treated as a boolean and the reorderable flag will be set to that
        value.  The ``reorderable`` value of a folder will be returned by that
        folder's :meth:`~substanced.folder.Folder.is_reorderable` method.

        The :meth:`~substanced.folder.Folder.is_reorderable` method is used by
        the SDI folder contents view to indicate that the folder can or cannot
        be reordered via the web UI.

        If ``reorderable`` is set to ``True``, the
        :meth:`~substanced.folder.Folder.reorder` method will work properly,
        otherwise it will raise a :exc:`ValueError` when called.
        """
