How to sort attributes correctly in the listing view secondary block

Hi there,
It seems like the fix I have been waiting for the attributes to be sorted properly in the listing view block has been postponed for a few months in the roadmap but I need a workaround asap. I originally described the issue here.
Now I have an attribute that is showing in the wrong place in the listing view and I would like to fix that. I have tried this code snippet described here to no avail.

Can you help me with a workaround this bug?
My attribute name is “program_summary” and I would like it to show just before the “description” field like in the edit form.
Here is what my edit view looks like

Here is what the view listing looks like. The crossed attributes should not be between Program summary and description.

Program summary should be just before the description and they should not be any attribute in between.


We checked this issue from our side, and it seems okay. Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users. If this issue exists, please provide more details (e.g., your actions step by step with screenshots, etc.). This will help us to reproduce and resolve the issue faster.