SELECT * FROM langtbl where sts='Y' and auth='Y' order by CAST(sn AS UNSIGNED) asc