incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: How to specify different sort order for the elements of a compound map key?
Date Wed, 05 Sep 2012 07:58:07 GMT
Hi Pulkit,

> But I want it to sort as:
> [No, 2012]
> [No, 2011]
> [Yes, 2012]
> [Yes, 2011]

Hmm... In that case, couldn't you simply code "No" as 1 and "Yes" as 0 and then use a descending
order ?
Or am I missing something?


Regards,

Aurélien 


Mime
View raw message