<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_profile_names_and_default() -> ( typing.Tuple[typing.Sequence[str], typing.Optional[Profile]]):
 """Return the list of profile names and the default profile object. The list of names is sorted. """

    with ProfileStore.open() as config:
        return sorted(config), config.default