![]() |
Is there a script to automatically sort out a list alphabetically
here is the format my links are in:
http://www.freeporn.com/iehwih - Free Porn for you http://www.freeporn.com/8uy98 - A best porn http://www.freeporn.com/qwq23 - Zach porn Is there a way to sort them alphabetically from the beginning of the descriptions, not the link? CF |
mmm Excel?
Put the link in one column, the description in another highlight the entire page and click Data Sort by Column B |
http://www.freeporn.com/8uy98 - A best porn
http://www.freeporn.com/iehwih - Free Porn for you http://www.freeporn.com/qwq23 - Zach porn glad I could help |
in shell: swap links with descriptions, sort alphabetically, swap back
in php/python/etc: make an array of pairs, sort by description in sql: insert into table, select and order by description excel works too edit: to do it in excel you'll wanna mass replace "-" with "," before opening the file |
If you have the links in a list exactly the way you posted (as in, not really in two columns) paste in a text file, and do a replace of " - " for a tab, and then paste it in Excel like Trixxxia said, after sorting, copy again, paste again and replace TAB for " - "
|
Quote:
What she said. |
Quick PHP solution I wrote for you.
Code:
<?php |
Quote:
|
Quote:
Everyone tells me Access is easier, but for the life of me, I'm lost with it so Excel is my friend. |
All times are GMT -7. The time now is 10:56 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc