I'm currently writing a plugin for handling posts as events which stores a timestamp in metakey called e.g. 'time'.
While an event can have multiple occurences there can be several values with the same meta_key per post.
Now I would like to query something like
get all meta by key 'time', sorted by the value and grab all posts by the post-ids of the metas for keeping the posts still sotrted by date and allowing the posts to appear more than one time (because of the several occurences).
the meta-query is easy but than querying the posts one by one by their ID seems to be quite inefficient, doesn't it??