def get_param_names(df):
    """Get the parameter names from df.

    Since the parameters are dynamically retrieved from the df,
    this function ensures that we have a consistent and correct mapping
    between their names and values across the callbacks.
    """
    return sorted(col for col in df.columns if col.startswith("param_"))