/var/cache/edb/world should be sorted. Makes it much easier to throw unwanted stuff out.
It's more useful in merge order that in alpha order as you can see the order you told it to merge things. Might seem trivial, but it's easier to code that way and has more use than alpha order. If you wanna sort it then sort it. No reason why you couldn't. cp /var/cache/edb/world /var/cache/edb/world.orig sort -u < /var/cache/edb/world.orig > /var/cache/edb/world
Nicholas: I really can't see how the world file is sorted in merge order. I just merged "cdlabelgen", which just depends on >perl-5.6.1. But it appears in the middle of the file, not at the beginning or the end. It doesn't appear to have any sorting order at all. Seemant: Why got this bug closed WONTFIX? I'd like to have at least a reason for that.
Adding attachments so Bugzilla really sends out mail.
Hi, I was thinking of requesting the same thing. The order of the packages in my '/var/lib/portage/world' file seems random - the same as the previous poster. I sometimes look through it to remove packages that I don't really want, then do 'emerge --depclean' to get rid of dependencies too. 'sort' arranges it nicely, but portage messes it up again. I was wondering how hard it is to change portage to sort it? Or should the world file really be edited by hand at all? No stress, just an idea. Thanks, Steven.