Get the current priorities using the tabIds list instead of the regions
Get the current priorities using the tabIds list instead of the regions

The tabIds list is already sorted by priority and insertion order, while
the regions order is undefined and has to be explicitly sorted.

Signed-off-by: Daniel Calviño Sánchez <bd7629e975cc0e00ea7cda4ab6a120f2ee42ac1b@gmail.com>

nextcloud/spreed,nextcloud/spreed,nextcloud/spreed