diff --git a/model/ArrayList.php b/model/ArrayList.php index 784fb55ce..b15e3b04c 100644 --- a/model/ArrayList.php +++ b/model/ArrayList.php @@ -448,7 +448,8 @@ class ArrayList extends ViewableData implements SS_List, SS_Filterable, SS_Sorta // First argument is the direction to be sorted, $multisortArgs[] = &$sortDirection[$column]; if ($firstRun) { - $multisortArgs[] = SORT_REGULAR; + $sortArg = SORT_REGULAR; + $multisortArgs[] = &$sortArg; } $firstRun = false; }