Correct sorting of layers in TOC when loading multiple layers
|Assigned to:||-||% Done:||
|Platform version:||Patch supplied:||No|
When multiple layers are added into QGIS from a PostGIS DB (via the "Add PostGIS Layers" button), they are added to the Table of Contents in reverse alphabetical order. I would anticipate one of two alternatives:
1) add the data layers to the TOC alphabetically, or
2) more favorably, the layers would be added to the TOC by data type in the logical order they would be visible to the user (points on top, then lines, polygons, and finally rasters at the bottom). For layers of the same geometries, they would be sorted first by geometry, then alphabetically.