> However the getMissingLinks
> function won't ever need to sort via a field because it just returns
> an array of strings not a collection of tiddler objects so there isn't 
> anything to sort on.

Not exactly true.  *Within* getMissingLinks(), it already checks each
'missing' tiddler to see if getTiddlerText(link,....) is null, as well
as if the missing link isShadowTiddler(), and is NOT a macro name.  It
also checks the tiddler that contains the link for
isTagged('excludeMissing') or isTagged('systemConfig').

Thus, there is already work being done to retrieve tiddler data
associated with the link (or it's container) and those data values
could be used to sort the resulting list, even though
getMissingLinks() only returns the tiddler titles, not the tiddler
objects.

Note that sorting the titles *after* they have been returned isn't
really practical, since the association between the missing tiddler
titles and the other tiddlers that reference them is *not* part of the
returned information, so there is no way to retrieve and sort by
related tiddler values (such as the modification date of the
referencing tiddler).

-e


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to