The Instagram stories algorithm is similar to the feed algorithm in that it uses ranking signals to decide which content to show first: that's why you'll likely see your best friend's story the second you open the app. Here's how Insta chooses what order your stories are in: Information about the story.