# coding=utf-8 name = 'slowest_sort_ever/2' slug = 'sort a list by randomly permuting elements' description = '''\

slowest_sort_ever(L, SL): the list SL contains the elements of L sorted in non-decreasing order. Average and worst case running time is O(n * n!).

  ?- slowest_sort_ever([2,3,1,5,4], L).
    L = [1,2,3,4,5].
''' hint = {}