On 16 April 2013 12:17, Smrutilekha Swain <smrutile...@gmail.com> wrote: > i am writing a program using PyQt4. i have created a table containg name of > the instruments, locations, its latitudes, longitude and altitude. > > there may be two instruments and its locations are same but different > latitude and longitude with mild difference. > > so now i want to sort the table by latitude or longitude whose have least > difference... [...]
What do you mean by a "table"? A database table, or a Python sequence? Abdul has already pointed out how to sort a list in Python. However, if you want any kind of scale, you will need a database that supports GIS operations, and a web GIS framework if you need a presence on the web. I would suggest GeoDjango with PostGIS. Regards, Gora _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers