title: I am getting "Cannot find reference "sort" in "function"
body: <pre><code>import json
  
  def sort_by_price_ascending(json_string):
    result = sort_by_price_ascending.sort()
  
  
  print(
    sort_by_price_ascending('[{&quot;name&quot;:&quot;eggs&quot;,&quot;price&quot;:1},'
                          '{&quot;name&quot;:&quot;coffee&quot;,&quot;price&quot;:9.99},'
                          '{&quot;name&quot;:&quot;rice&quot;,&quot;price&quot;:4.04}]'))
  
  print(&quot;the original JSON data :\n{0}&quot;.format(sort_by_price_ascending))
  sort_by_price_ascending.sort(key=lambda x: x[&quot;price&quot;])
  
  print(&quot;The sorted JSON data based on the value of the 
  price:\n{0}&quot;.format(sort_by_price_ascending))
  </code></pre>