- g_string_append_printf(s, "with %d probes:", g_slist_length(sdi->probes));
- for (l = sdi->probes; l; l = l->next) {
+ sl = g_slist_sort(g_slist_copy(sdi->probes), sort_probes);
+ g_string_append_printf(s, "with %d probes:", g_slist_length(sl));
+ for (l = sl; l; l = l->next) {