A more logical/efficient implementation could be to assign a "bookmark number" 
to each bookmark.

1 to N.

This way the number itself represents the order in which order the bookmarks 
were added.

This may also make sorting faster and easier to implement.

So for example:

currently sorted by name:

Ascent 7
Crystal 5
Dead Racer 3
Dreams of Neo 1

Behind each bookmark link is an "bookmark number", which indicates more or less 
when it was added.

So then re-sorting based on this bookmark number the list would look like:

Resorted by bookmark number:


Dreams of Neo 1
Dead Racer 3
Crystal 5
Ascent 7

This would restore chronicle order.

So for this implementation:

1. That each bookmark receives a number as it's added starting from 1 going up 
to N, a 32 bit number should be sufficient for now.

2. That the bookmark list can be sorted on this bookmark number. It could also 
be called "addition number" or something else.

Bye,
  Skybuck Flying.
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to