i just found out that the use of dynamic field is only to have a choice of field for the user to sort by and not something i can use for sort with another compound attribute like this.
The app is currently private, and I’m not sure if I’m allowed to make it public.