Really interesting stuff.
The naming of the types is slightly confusing. If I understand correctly, a "feed" is kind of like an unordered set (if you ignore the IDs) or a hash (using the ID as a key), while a "sorted feed" is like an array?
The naming of the types is slightly confusing. If I understand correctly, a "feed" is kind of like an unordered set (if you ignore the IDs) or a hash (using the ID as a key), while a "sorted feed" is like an array?
A feed is in publish order (not a set). Edited items are brought to the top.
A sorted_feed lets you publish at whatever end/index you want. You can also move items to a different index. Sorted feeds give you reposition events as well.
If nothing else, I'll fix this with documentation for 1.0.
Also, I threw together a little REPL that makes it little easier to play around with Thoonk.js: https://gist.github.com/1378241