File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -1140,12 +1140,14 @@ export class Interpreter {
11401140 return getAttributeValue ( item , attrPath ) ;
11411141 } ;
11421142
1143- return new ArrayValue ( operand . value . slice ( ) . sort ( ( a , b ) => {
1144- const aVal = getSortValue ( a ) ;
1145- const bVal = getSortValue ( b ) ;
1146- const result = compareRuntimeValues ( aVal , bVal , caseSensitive . value ) ;
1147- return reverse . value ? - result : result ;
1148- } ) ) ;
1143+ return new ArrayValue (
1144+ operand . value . slice ( ) . sort ( ( a , b ) => {
1145+ const aVal = getSortValue ( a ) ;
1146+ const bVal = getSortValue ( b ) ;
1147+ const result = compareRuntimeValues ( aVal , bVal , caseSensitive . value ) ;
1148+ return reverse . value ? - result : result ;
1149+ } )
1150+ ) ;
11491151 }
11501152 case "selectattr" :
11511153 case "rejectattr" : {
You can’t perform that action at this time.
0 commit comments