[SMARTY] show/order by first letter

Alexander Wegener <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
how can i display an array of names sorted by the first letter AND 
separated by it?
f.e.:

A
Australia
Austria

B
Belgium
....

up to now, i have separated the array names in a 2d array with 26 (+ one 
numeric) field.

is there a more elegant way?

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.