-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugError, flaw, failure or fault that causes to produce an incorrect result or crashError, flaw, failure or fault that causes to produce an incorrect result or crash
Description
Describe the bug
Sorting of nested arrays is broken.
Tested at 9fa0a3a
To Reproduce
private _pp = [[0,0,3,"Head"],[0,0,4,"Body"],[0,0,1.00125,"LeftArm"],[0,0,1.56359,"RightArm"],[0,0,1.1933,"LeftLeg"],[6.17301,2.05767,1.80874,"RightLeg"],[0,0,1,"#structural"]];
_pp sort false;
_pp[[0,0,1,"#structural"],[6.17301,2.05767,1.80874,"RightLeg"],[0,0,1.1933,"LeftLeg"],[0,0,1.56359,"RightArm"],[0,0,1.00125,"LeftArm"],[0,0,4,"Body"],[0,0,3,"Head"]]
Expected behavior
[[6.17301,2.05767,1.80874,"RightLeg"],[0,0,4,"Body"],[0,0,3,"Head"],[0,0,1.56359,"RightArm"],[0,0,1.1933,"LeftLeg"],[0,0,1.00125,"LeftArm"],[0,0,1,"#structural"]]
Metadata
Metadata
Assignees
Labels
bugError, flaw, failure or fault that causes to produce an incorrect result or crashError, flaw, failure or fault that causes to produce an incorrect result or crash