View Single Post
Old 05-08-2014, 03:58 PM   #2
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
Lol, while I was writing a wrong answer for your reply I came up with a simple idea that might work well for you, there is a plugin for HTML called table sorter I used quite a few times.

Table sorter: http://tablesorter.com/docs/

It's not the most elegant solution I bet but it should work like a charm, you basically create a table of two columns, 1 would be the name of the link and one the url (href), then hit the sort button and copy paste the output source.

If nobody has a better idea and you like doing this more than one time I will take the challenge to write something more convenient to use this on a more regular basis.

EDIT: There is also list sorter: http://listjs.com/ which would be more compatible with what you're trying to accomplish since TOCs are basically lists.

EDIT2: If you still want to use excel you can do pretty much what I offered but manually, copy paste your TOC (FROM VIEW MODE - NO CODE) to Excel, sort and then match the right links, TOCs are not THAT long so it shouldn't take more than a couple of minutes anyway. Then again, if you do this often a better solution would be nice to find

Last edited by odedta; 05-08-2014 at 04:02 PM.
odedta is offline   Reply With Quote