Working With Results

Ordering

sodb can order your results ascendingly (protip use .reverse() to get descending).

heightOrder = db.order('height', {eyes: 2});
heightOrder[0].name // jorge
heightOrder.reverse()[0].name // tim

If you are using caching your sorts are cached too.