I have a array/object created like this:
’ data={ lat : aVeiculos.dispositivos[0].posicoes[0].latitude , _
’ lon : aVeiculos.dispositivos[0].posicoes[0].longitude , _
’ placa : aVeiculos.placa , _
’ cor : aVeiculos.cor , _
’ endereco : aVeiculos.dispositivos[0].posicoes[0].endereco , _
’ info : cCarroSelecionado , _
’ distancia: cDistancia , _
’ km : nDistancia , _
’ isPerto : False , _
’ icone : encodeURI(“http://fastmobile.info/img/bus.png”) , _
’ espera : txtEspera , _
’ tempo : cTempo _
’ }
’ aAllBus.push(data)
after the fill with elements it´s possible order it by the element km ?
Thanks in advance !