Short answer
There is no agreed answer. “Inefficient” depends on what you measure: the worst case, the average case, or the time on large inputs. Two sorts are often named as the most inefficient. Bogosort is a joke algorithm whose running time has no upper bound. Slowsort was designed to be slow on purpose. Among practical sorts, the simple methods such as bubble sort are the usual examples of slow ones on large inputs.
Bogosort: shuffle until sorted
Bogosort checks whether the list is sorted. If it is not, it shuffles the list at random and checks again, and it repeats until the list happens to be in order.
Each random shuffle has about a 1 in n! chance of producing the sorted order, so the expected number of shuffles is about n!. Each check takes time proportional to n. The expected running time is therefore about n × n!. For a list of 10 items, n! is 3,628,800 shuffles on average. Because nothing guarantees that a random shuffle will ever come out sorted, the worst case has no upper bound at all.
Slowsort: an algorithm built to be slow
Slowsort comes from a 1984 paper by Andrei Broder and Jorge Stolfi, written as a parody. They called such deliberately poor algorithms “pessimal.” Standard divide and conquer splits a problem to finish sooner. Slowsort does the opposite and repeats work on overlapping parts of the list, so it takes far longer than a sort with a polynomial running time. Its running time grows faster than any fixed power of n.
Slowsort is a curiosity rather than a tool. It shows how an algorithm can be correct and still be very slow.
Why the answer depends on the question
A sort that is slow on large inputs may be fine on a list of ten items, and a sort that is fast on random data may be slow on data that is already in order. Bogosort’s running time is unbounded, which makes it the extreme case. Judging a sort by how its time grows as n gets large is the fairest test. By that measure, sorts with a worst case of O(n²) are slow on big lists, while merge sort and heapsort with O(n log n) are not.
Practical slow sorts on large inputs
- Bubble sort repeatedly swaps neighboring items that are out of order. Its worst case is O(n²), for example on a list in reverse order.
- Selection sort always does about n²/2 comparisons, whatever the input. The detail is covered in is selection sort always O(n²).
- Insertion sort is O(n²) in the worst case, but it is close to O(n) on a list that is nearly sorted, so it is not slow on every input.
For real data, the practical question is which sort keeps its growth rate under control. The question of what is the most efficient sorting algorithm is answered by looking at worst cases and memory, not by looking at the slowest sort in a textbook.