I'm not sure I'm following the whole thread, but why are you storing integers as strings?
If you store them as numbers, they would collate right I think. - Jim Sent from my iPhone On May 17, 2012, at 12:37 PM, "Luca Matteis" <[email protected]> wrote: > On Thu, May 17, 2012 at 8:19 PM, Matthieu Rakotojaona > <[email protected]> wrote: >> ["905"] // 905 points for post "1" >> ["1","36"] // 36 points for post "1/4" >> ["1","76"] // 76 points for post "1/2" >> ["1","2","14"] // 14 points for post "1/2/3" >> ["1","4","1"] // 1 point for post "1/4/6" > > Okay but the new "1/4/6" comment you just added doesn't appear > underneath the "1/4" comment. I want the view to keep things in order > for me. Whilst this would require me to process the view and order > things myself using another language. Instead I only have Couch, and I > want Couch to do the work.
