시작일 빠른순으로 우선순위 > 시작일 최근순으로 우선순위로 변경

This commit is contained in:
2025-07-09 10:12:35 +09:00
parent 1154d140c1
commit c78f5557bb

View File

@ -138,7 +138,7 @@ $rb_skin['md_auto_is'] 자동롤링 여부(1,0)
// 정렬: 상태 우선순위(_sort) → 시작일(_start_date) // 정렬: 상태 우선순위(_sort) → 시작일(_start_date)
usort($list, function ($a, $b) { usort($list, function ($a, $b) {
if ($a['_sort'] === $b['_sort']) { if ($a['_sort'] === $b['_sort']) {
return strcmp($a['_start_date'], $b['_start_date']); return strcmp($b['_start_date'], $a['_start_date']);
} }
return $a['_sort'] <=> $b['_sort']; return $a['_sort'] <=> $b['_sort'];
}); });