csscomb.js icon indicating copy to clipboard operation
csscomb.js copied to clipboard

"..." in sort-order and sort-order-fallback="abc" breaks sort-order for everything in it's group.

Open masterpi314 opened this issue 9 years ago • 0 comments

The decision to do fallback-sorting in sort-option.js happens only based on a.groupIndex === lastGroupIndex, incorrectly ignoring a.propertyIndex === lastPropertyIndex, and thus sorting everything in the group containing "..." together as one. That check should be moved below the propertyIndex check below it (so as not to have to check b.propertyIndex), and have && a.propertyIndex === lastPropertyIndex added to it.

masterpi314 avatar Jan 06 '17 00:01 masterpi314