input: 
  from typing import List
  
  def sort_ascending(nums: List[int]) -> List[int]:
      """
      Implement a sorting algorithm that takes a list of integers as input and 
      outputs the list sorted in ascending order.
      
      >>> sort_ascending([64, 34, 25, 12, 22, 11, 90])
      [11, 12, 22, 25, 34, 64, 90]
      
      >>> sort_ascending([3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5])
      [1, 1, 2, 3, 3, 4, 5, 5, 5, 6, 9]
      """
      for i in range(len(nums)):
          min_idx = i
          for j in range(i + 1, len(nums)):
              if nums[min_idx] > nums[j]:
                  min_idx = j
          nums[i], nums[min_idx] = nums[min_idx], nums[i] 
      return nums
  
output:     for i in range(len(nums)):
          min_idx = i
          for j in range(i + 1, len(nums)):
              if nums[min_idx] > nums[j]:
                  min_idx = j
          nums[i], nums[min_idx] = nums[min_idx], nums[i] 
      return nums