fix types, convert dict to list
order by score