function getResources
  toComputer
  put resList() into currentResources
  repeat with x = 1 to the number of lines of currentResources
    put item 2 of line x of currentResources into line x of currentResources
  end repeat
  sort currentResources
  return currentResources
end getResources