https://rtfm.modx.com/extras/revo/getresources - 質問する前にドキュメントを読んでください。
&sortby=`FIELD(modResource.id, 4,7,2,5,1 )`
あなたの場合、それは
&sortby=`FIELD(modResource.id, [[*HomePageUpcomingEvents]] )`
UPD
3 つの例:
[[!getResources?
&parents=`-1`
&resources=`1,2,3`
&sortby=`FIELD(modResource.id, 3,2,1 )`
&tpl=`@INLINE [[+id]]`
&showUnpublished=`1`
&showHidden=`1`
&showDeleted=`1`
]]
<hr>
[[!getResources?
&parents=`0`
&resources=`1,2,3`
&sortby=`FIELD(modResource.id, 3,2,1 )`
&tpl=`@INLINE [[+id]]`
&showUnpublished=`1`
&showHidden=`1`
&showDeleted=`1`
&sortdir=`ASC`
]]
<hr>
[[!getResources?
&parents=`0`
&resources=`1,2,3`
&sortby=`FIELD(`modResource`.`id`, 3,2,1 )`
&tpl=`@INLINE [[+id]]`
&showUnpublished=`1`
&showHidden=`1`
&showDeleted=`1`
&sortdir=`DESC`
]]
3 つの出力:
1
2
3
<hr>
3
2
1
<hr>
1
2
3