i am trying to set the same order in Spring Data for Practice object as illustrated below in mysql:
select * from practice order by FIELD(id, 5, 2, 1, 8, 3) desc
For now, i can set just something like
new Sort.Order(Sort.Direction.DESC, "id")
How can i achieve this?