Ref T6861. Some discussion in IRC. The behavior of sort is somewhat broken when dealing with mixed types. In this particular case, we have both integers and strings.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T6861: PHP sort function is unpredictable to human minds when dealing with mixed types
- Commits
- Restricted Diffusion Commit
rP85b26964f1b8: Attempt to workaround non-deterministic `sort` behavior
@epriestley confirmed that this made the ordering of the Celerity map slightly-more-sane.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable