title: Count line breaks in a field and order by
body: <p>I have a field in a table <code>recipes</code> that has been inserted using <code>mysql_real_escape_string</code>, I want to count the number of line breaks in that field and order the records using this number.</p>
  
  <p>p.s. the field is called Ingredients.</p>
  
  <p>Thanks everyone</p>