Thank you for your reply.
The Yahoo code is:
<img border=0 src="http://opi.yahoo.com/online?u=user&m=g&t=0">
where "user" is whatever the person's Yahoo ID is. The image changes on the Yahoo side of things from off to on depending on the user's status.
As far as my code, it is just regular tables organizing these images, I have no coding per say at this point.
I will look at the sort function, but I'm not sure it will do much good if I have to call the online status from Yahoo somehow.
I have seen other web sites do this, but of course you can't see their code.
Thank you.