MODX Community

Sorting output results Getresources by a tv?

Hi everyone,

I need to sort (rank) the output results of a Getresources snippet. Is there a way to set the ranking? Through a tv perhaps (filling in 0-9999)?

see https://docs.modx.com/current/en/extras/getresources#selection-properties
sortbyTV
sortbyTVType