post_ids array passed to
TopicView#filter_posts_by_ids have already
been sorted so we can just maintain the ordering backed on the sort
order in the array. This is done so that
does not impose any ordering on the
post_ids allowing us to pass an
post_ids that may be sorted differently.
post_ids is limited so time spent for the Ruby option should be negligible