The result was =SORT( $B$3:$F$20, { 2, 1 ARRAYROWSTOP) ARRAYSTOP), {- 1, 1 ARRAYROWSTOP) ARRAYSTOP) ) Is there a way to fix that issue?