Fix T72878: Alphabetical sorting in Outliner sorts shorter names last
E.g. "Cube" would be placed after "Cube.001", which is not what you'd expect. 2.80 handled this correctly. Loosely based on D6525 by @radcapricorn, but found a bug in that and prefered to do some further adjustments. Also activates test for this case.
This commit is contained in:
@@ -801,7 +801,7 @@ TEST_F(StringCasecmpNatural, TextAndNumbers)
|
||||
const CompareWordsArray negative{
|
||||
{"00je møder0", "00je møder1"},
|
||||
{"05je møder0", "06je møder1"},
|
||||
// {"Cube", "Cube.001"},
|
||||
{"Cube", "Cube.001"},
|
||||
{"Cube.001", "Cube.002"},
|
||||
{"CUbe.001", "Cube.002"},
|
||||
{"CUbe.002", "Cube.002"},
|
||||
|
Reference in New Issue
Block a user