Include page weight in response to get_section() for a weight-based section

When I call get_section() for a section that is sorted by weight, I’d like to have the page’s weight included in each entry in the pages member. On one of my sites, I use weight to indicate a sequence of posts, but I can’t use that sequence number in the rendered view of the page.

Right now, I make this work by duplicating the weight in a field in the extra’s section, for example …

… but that seems clumsy and redundant to me.

Could we please have the weight in the variable as well?

Hmm I guess we could pass that