jpa orderby Sort sort_asc = new Sort(Sort.Direction.ASC, "id"); // 오름차순 Sort sort_desc = new Sort(Sort.Direction.DESC, "id"); // 내림차순 testRepository.findAll(sort_asc); testRepository.findAll(sort_desc); JAVA 2018.08.10