Track sorting from Config panel updated

Track sorting from config panel updated according to new ImageMap sorting
Some modifications to ImageMap to make it easier to sort the image tracks when tracks are sorted from the config panel.