Alphabetic order - 28/03/07 09:24 PM
are there any way to sort the content of a list in alphabetic order?
this is what I got so far:
and then I got the text file loaded to a .asp file
what i now want is to sort the content of the 'games.txt'
im not forced to use a .txt file, but I need to be able to load it in a .asp file
anyone got any ideas of how you can do this?
this is what I got so far:
Code:
on *:TEXT:*:#: { if ($strip($1) == !game ) { msg $chan 3URL/games } if ($strip($$1) == !addgame) { write C:\..\games.txt $3- :: added by $nick $+ <br /> msg $chan 3done } }
and then I got the text file loaded to a .asp file
Code:
<div class="box"> <h2>games</h2> <!--#include file="games.txt"--> </div>
what i now want is to sort the content of the 'games.txt'
im not forced to use a .txt file, but I need to be able to load it in a .asp file
anyone got any ideas of how you can do this?