Hi,
Out of curiosity, how many users do you have in your list?
You could try going into the "passwd" file that is located at / .htpasswds / main / and then copy all of your users and passwords out of there, put them into a spreadsheet program such as Excel and then alphabetize them by username, then copy that back into your "passwd" file again. But first you have to separate the usernames and passwords into columns. So I recommend first copying the contents of the "passwd" file into a text file (minus the period at the end of the password for your very last person so that you can add that back in when you put the ordered list back intot he "passwd" file again), save that, then open it up in your favourite spreadsheet program, but all I have is Excel, so what you do in that program is when you open the text file you'll get a pop-up window to help you import the file, leave all of the defaults (delmination, etc) and hit Next, then for separation leave the tabulation box checked and then click other and put in the : (colon) it will then show you the split, neatly putting your usernames and passwords into separate columns, then hit Next, leave the default, and then Finish. That's it for that part.... then highlight your two columns, then click on the Data menu, and the first option you get is Sort, click that, sort by column A ascending, hit OK, and your entire list has been alphabetized. Copy all of that, put it back into your "passwd" file and stick the period at the end of it, then upload it back to right place and you should be all set. In the future you can just do all of your user management in your spreadsheet
Yeah, I know that perhaps this looks like a drawn out process, but it's all I could think of and once you know how to do it, it's quite fast to do.
Please don't forget to tell me how many people you have in your list because I'm on the verge of doing what you're doing or getting a php solution set up.
Cheers,
Nathan