There are several basic sorting algorithms in Python, such as bubble sort, selection sort, insertion sort, and merge sort. Each of these algorithms has its own approach to sorting elements in a list or array.
Here is an example of how to implement the bubble sort algorithm in Python:
```python
# Bubble Sort implementation
def bubble_sort(arr):
n = len(arr)
for i in range(n):
for j in range(0, n-i-1):
if arr[j] > arr[j+1]:
arr[j], arr[j+1] = arr[j+1], arr[j]
# Example usage
arr = [64, 34, 25, 12, 22, 11, 90]
bubble_sort(arr)
print('Sorted array:', arr)
```