Simplify Element::children() stable sort.

Created on 3 July 2015, over 9 years ago
Updated 15 January 2023, about 2 years ago

Follow-up to #2448765: Element::children sort order undefined and slower than it could be - This makes tests fail in PHP7 β†’ .
The other issue turned Element::children() into a stable sort (preserving the order in case of equal weight).

For a stable sort we don't need the funky float weights.
I suspect this group sort is better. Simpler for sure, faster maybe.

Lets just see if it passes.

πŸ“Œ Task
Status

Needs work

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡©πŸ‡ͺGermany donquixote

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024