Based on your activity and the people it believes are closest to you, the Instagram algorithm merely shows your viewer list. This is based on the interaction information you have collected from the posts you have liked or commented on. Additionally, when you swipe up on an account's Instagram Story or search for a profile using the search box.