You can achieve this as follows:
dao.findAll(new Sort(Sort.Direction.DESC, "colName"));
// or
dao.findAll(Sort.by("colName").descending());
Another way to achieve the same. Use the below method name:
findByOrderByIdAsc()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…