Custom date for index page sort order.

@SteveHTM,
I have tried using

{% set effective_date = module.show_custom_update_date ? module.updated_date : content.publish_date %}

`{% text “effective_sorting_date” label=“The sorting date”, value=“{{effective_date}}”, export_to_template_context=True %}``

I see it in the post page as:

 "widget_data": {
 "module_172082412025471_effective_sorting_date": {
 "parent_widget_container": null,
 "label": "The sorting date",
 "value": 1722225600000,
 "export_to_template_context": true,
 "content_editable_values": [
 "value"
 ]
 }
 },

But it is not showing up in the blog list and its developer info. I tried using these.

{{ content.widgets.module_172082412025471_effective_sorting_date.body.value }}
{{ content.widgets.effective_sorting_date.body.value }}

Please share possible issues preventing from passing the data? Thank you