Make executesql as dict ordered