I don't know if this is usefull to someone but I've found that using a token property you can sort the elements with sequence-key(the first char is the key). For example -> token property "citynames": London Liverpool Rome New York <dtml- in citynames> &dtml-sequence-key;: &dtml-sequence-item; </dtml- in> The output is: L: London L: Liverpool N:New York R: Rome