Sorting List Function

  • Share this:

Code introduction


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)