diff --git a/jaksim/src/main/java/org/sopt/jaksim/category/facade/CategoryTaskFacade.java b/jaksim/src/main/java/org/sopt/jaksim/category/facade/CategoryTaskFacade.java index c022d3f..366dccf 100644 --- a/jaksim/src/main/java/org/sopt/jaksim/category/facade/CategoryTaskFacade.java +++ b/jaksim/src/main/java/org/sopt/jaksim/category/facade/CategoryTaskFacade.java @@ -20,6 +20,7 @@ import java.time.LocalDate; import java.util.ArrayList; +import java.util.Comparator; import java.util.List; @Slf4j @@ -59,6 +60,7 @@ public List getAllResources(LocalDate startDate, Local taskWithTaskTimerList.add(TaskWithTaskTimer.ofByInit(task, taskTimerService.getTaskTimeByTaskId(3L, idxDate, task.id()), task.isComplete())); } } + taskWithTaskTimerList.sort(Comparator.comparing(TaskWithTaskTimer::id).reversed()); target.categoryTaskLinkList().add(CategoryTaskLink.of(categoryTaskLink.categoryCheckResponse(), taskWithTaskTimerList)); } }