# Bucket sort
A bucket sort (opens new window) can be described as an ordered set of sorting
All the documents are sorted within the first
criterion, then documents that can not be distinguished will be sorted using the second criterion, and so on. Thus, all documents are not sorted for every criterion, which induces a reduced compute time.