The Favorites>Options in KM1.6 already have a sorting interface in the normal pref sheets, in tab "Favorites Menu". Probably KM7X too, otherwise would be a bug, and assume it's the very same pref, but haven't checked.
But am afraid you have a basic misunderstanding about what the asker meant initially:
Quote
sendhelp
In IE, if you had a favorite named Google and a favorite named Youtube, whichever one you added most recently is going to be at the bottom of your favorites. No matter which one you pick, you can have a custom order of favorites (drag Youtube aove Google for example). In KM it's all in ABC order instead
The key word here is "drag". That means the entries are not "sorted" really, only dragged manually with the mouse to their custom place, one by one, to any fancy place. So there is no "order" that could be restored automatically.
This is a specialty of IE, remember it even from way back when still using IE5, a hundred years ago :cool:
Now searched a bit and found this:
http://www.winhelponline.com/blog/preserve-order-ie-favorites-transferring-to-another-pc
So MS stores this "manual order" in the Registry, one by one!
It can be transfered from one computer to another or to another profile by Ex/Im-port that registry block. But guess only IE will use that order.
In KM, I don't think a macro can reorganize a plugin-created menu.
The plugin itself would have to offer this option.
As a weak workaround, there may be a little chance to use "readreg" function (or how it's called) and then create a whole new, additional macro menu from it, but find that rather overkill. Especially for ALL favorites. And then this second menu still doesn't interact with the real KM Favs menu. Building such a macro would be enormous fiddling and struggling and in the end still be flawed - just not worth it. And it's not like there had been a flood of urgent demands for it over the years ;-)
Personally when I want some manual order for any lists I've always just renamed them by adding a plain number in the beginning of the name. Fast and easy and worked well enough, and great for the windows Quickstart apps or desktop icons. Most of all, that simple method is failsafe. If for whatever reason the order gets messed, a simple alphabetical sort will restore all in an instant.
If a user absolutely wants a bunch of favorites in a special order, without wasting ten minutes to add numbers before the menu entries, it would be a whole lot easier instead to just throw together those links into a little text list and create a menu from this by macro. Extremely easy and this list could be stored either in the kmm-file itself or in some ini-file or a prefs list.
But it would still have nothing to do with original IE "Favorites", so just can't fulfill that demand anyway.
Thinking about it, actually KM contains already the "Hotlinks" macro, which stores ten user links in prefs.js. And has a very handy configuration sheet in F2. Long ago I even made a little macro somewhere that creates 10 mini-buttons to save space. It used image buttons, but pure text buttons are possible too.
But - all this just has nothing to do with the original question to restore the IE faves order in KM-Favorites.