I can not solve the problem of the following nature. On maps fusiontablaes made a map, now you need to add types of sorts. I can not understand how to sort in javascripte. I need that when I choose a district, I only see settlements of this district. Can you please set an example of how to do this, in javascript is generally a beginner, just need to solve the problem at the moment :)
нужно чтоб когда я выбирал район мне показывались населенные пункты только этого района) is called not sorting, but filtering ... What and why do you need to sort (or filter)? .. correct the question so that everything is clear. - Mikhail Rebrov