Ad
Fundamentals
Loops
Control Flow
Basic Language Features

You just need to sort the suggested list. Do this without using the built-in sorting functions.

Example:
arr = [14, 44, 67, 3, 87, 32] ----> [3, 14, 32, 44, 67, 87]

def sort_arr(arr):
    if len(arr)<2:
        return arr
    else:
        basic = arr[0]
        grater = [i for i in arr[1:] if i > basic]
        less = [i for i in arr[1:] if i<= basic]
        return sort_arr(less) + [basic] + sort_arr(grater)