CAST population to get a real numeric order by (fix #47)