BubbleSort has an average and worst-case time complexity of
O(n2)
to sort n items.
Most sorting algorithms have substantially better worst-case or average complexity. Therefore, bubble
sort is not a practical sorting algorithm.
The only use case to use BubbleSort could be to sort already sorted data after e.g. only one entry was inserted.
Wikipedia