I am trying to create a visualization at runtime like explained in the Cartodb documentation:
Then I add infowindows for each entry with this command:

cdb.vis.Vis.addInfowindow(map, layer.getSubLayer(0),  

But the entries are displayed in alphabetical order, not the order I want it to be. Is there any way to force it to keep my order?


As it's said in the comments, this was an issue in the CartoDB.js library that was fixed according to this GitHub issue of their repo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.