gst: deviceprodiver: Sort devices by session priority
Applications using the device provider typically list devices in the order they were added. In order to ensure that apps pick nodes like cameras with the highest priority by default, sort devices accordingly.
This unfortunately does not not have an effect on nodes added later, e.g. on hotplug.
Closes #3072 (closed)