sort_keys: add missing sort flag assignments (#1179)
sort_keys: add missing sort flag assignments (#1179)

GitHub: fix GH-1178

There are paths that don't assign a sort flag to "key->flags".
By this, sort flag is unexpected vale and Groonga doesn't output sort results.

komainu8/groonga,kenhys/groonga,groonga/groonga,komainu8/groonga,groonga/groonga,kenhys/groonga,groonga/groonga,kenhys/groonga,komainu8/groonga,komainu8/groonga,komainu8/groonga,komainu8/groonga,groonga/groonga,komainu8/groonga,kenhys/groonga,kenhys/groonga,komainu8/groonga,groonga/groonga,kenhys/groonga,kenhys/groonga,groonga/groonga,kenhys/groonga,groonga/groonga,groonga/groonga