I have a little problem to transform a collection and sorting the data from.
I have a basic test Collection
/server and client side/
var test = new Mongo.Collection(“test”);
I sort in asc order ‘a,c,b’ so the result is -> ‘a,b,c’
The result is -> 'a,z,c’
In fact, the doc ‘b’ has well been replace by ‘z’, but the sort option is not updated so…
I want to transform field name ‘b’ by ‘z’ to have this sort result : ‘a,c,z’
Than’s a lot for your help.