Sorting Function for List

  • Share this:

Code introduction


This function sorts the input list and returns the sorted list.


Technology Stack : list, sorting (sorted)

Code Type : Function

Code Difficulty :


                
                    
def a_sort_list(input_list):
    return sorted(input_list)