You can download this code by clicking the button below.
This code is now available for download.
This function is used to sort an input list and returns the sorted list.
Technology Stack : List (list), Sorting (sorted)
Code Type : Function
Code Difficulty : Beginner
def sort_list(input_list):
return sorted(input_list)