post__in doesn’t affect the ordering at all.
You can achieve the order you want by hooking into the ‘posts_orderby’ filter and use MySQL’s FIND_IN_SET() function.
post__in doesn’t affect the ordering at all.
You can achieve the order you want by hooking into the ‘posts_orderby’ filter and use MySQL’s FIND_IN_SET() function.