View Single Post
 
Old 08-01-2016, 11:11 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,164
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would do this by modifying the list to include the parent on every line, sorting and then removing the parent eg
Code:
animals
 - cat
 - dog
 - monkey
plants
 - grass
 - tree
 - shrubbery
becomes
Code:
animals
 animals - cat
 animals - dog
 animals - monkey
plants
 plants - grass
 plants - tree
 plants - shrubbery
This is easy to sort as one big group and then you can remove the parents where necessary
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote