calender-popover: Make sorting stable
When multiple calendars with the same name exist, their relative order in the list is random and changes e.g. when toggling the checkmark next to them. The result is glitchy behavior.
Now when two calendars have the same name we do a secondary sort by their ID, resulting in a nice deterministic order.
Edited by Kai A. Hiller