```python
def set_to_tuple(s):
    """
    Converts a given set into an ordered tuple.

    Args:
        s: The input set.

    Returns:
        A tuple containing the elements of the set in sorted order.
    """
    return tuple(sorted(s))

```