Check out usort() which you can use in conjunction with a simple comparison function to sort whatever you want. Good luck! Chris Blessing webguy at mail.rit.edu http://www.330i.net > > Does anybody know a good date sort algorithm. Im wanting to > > pull a series of events from a MySQL database, sorted in > > order of date using PHP.