@@ -316,12 +316,12 @@ |
||
316 | 316 | { |
317 | 317 | if ($this->isAscendingOrderForListData($pageFilter)) { |
318 | 318 | // ASC sorting |
319 | - usort($ids, function ($a, $b) use ($orderBy) { |
|
319 | + usort($ids, function($a, $b) use ($orderBy) { |
|
320 | 320 | return $a[$orderBy]->getTimestamp() - $b[$orderBy]->getTimestamp(); |
321 | 321 | }); |
322 | 322 | } else { |
323 | 323 | // DESC sorting |
324 | - usort($ids, function ($a, $b) use ($orderBy) { |
|
324 | + usort($ids, function($a, $b) use ($orderBy) { |
|
325 | 325 | return $b[$orderBy]->getTimestamp() - $a[$orderBy]->getTimestamp(); |
326 | 326 | }); |
327 | 327 | } |