Task: Text to Code
Input (English): What is the total horses record for each farm, sorted ascending?
Output (English): SELECT Total_Horses FROM farm ORDER BY Total_Horses ASC