ASP Sorting? - Asp Sorting...

They have: 9 posts

Joined: May 1999

Ok, i am making a topsites program in ASP, and i have everything made except for the page that lists the sites in order of greatest's hits in.

Since ASP doesnt have Filelocking i made a separate file for each member. The files are made like this: membername.txt and are created when the member signs up, with the member name that they choose.

Inside the memberfile are 7 variables, that are set up like this:

membername sitename siteurl email password hitsin hitsout

(this board wouldnt let me put Pipes in but where ever you see a space in the line above, a pipe is suppose to go there.)

i use split, to split that into an array.

I also have files that keep track of the membersnames and the number of members. Just incase i would need them.

Does anyone have an idea of how i could list the members, in order of how many hits in they bring?

Thanks a lot!
Josh