def sorted_names(names):
    names = list(names)
    have_default = False
    if 'default' in names:
        names.remove('default')
        have_default = True
    sorted_names = sorted(names)
    if have_default:
        sorted_names = ['default'] + sorted_names
    return sorted_names