Thanks very much so far FIELD would be my preffered option because it would be easy. But it doesnt seem to work.
This is my working statement:
[[pdoResources?
&tpl=events_tpl_uebersicht
&depth=1
&parents=39
&includeContent=1
&includeTVs=Kursart,Beginn, PLZ, Straße, Ort, Bundesland,kuerzlich_geaendert
&limit=500
&showHidden=1
&sortbyTV=Kursart,Beginn
&sortdirTV=ASC
&tvFilters=Kursart==%[[*description]]%
&select = {"modResource":"id,pagetitle,uri"}
]]
and I changed it to this not working statement:
[[pdoResources?
&tpl=`events_tpl_uebersicht`
&depth=`1`
&parents=`39`
&includeContent=`1`
&includeTVs=`Kursart,Beginn, PLZ, Straße, Ort, Bundesland,kuerzlich_geaendert`
&limit=`500`
&showHidden=`1`
sortby=FIELD(Kursart, 'Praxis-Wochenende', 'Informations-Vortrag', 'Praxisabend 1')
&sortdir=ASC
&tvFilters=Kursart==%[[*description]]%
&select = {"modResource":"id,pagetitle,uri"}
]]
It doesnt throw any error but the statement doesnt work. Of course there are much more possible contenct entries in “Kursart” but after my knowledge it should start sorting by this.
What Im doing wrong?