Added Order By clause to MySQL implementation