Comment order and pinned comments in an Instagram export
The order of comments in the Instagram app is not the order of the file you download, and neither one is guaranteed to be chronological. Here is what to rely on, and how to put the rows in the order you need.
Updated Nov 17, 2026 · 6 min read
In the app: a ranked order, in batches
The Instagram app shows comments in an order Instagram chooses, which is not simply oldest to newest. It tends to put comments it considers more relevant first, loads them in batches as you scroll, and keeps replies collapsed behind “View replies”. Which comment you see first can differ between people and can change from one visit to the next. If you are trying to check “who commented first”, the app is not a reliable place to do it.
That has a practical effect on giveaways and disputes. “I was the first commenter” cannot be settled by scrolling. It can be settled with the timestamps in an export.
In the file: numbered rows and a timestamp
An export has two things you can rely on for order. The first column is a row number (#), which numbers the rows in the order IGComments collected them. That order is stable for a given export and is the order the file is written in, but it is a collection order, not a promise that rows run from oldest to newest. The second is posted_at_utc, the time each comment was posted, in UTC. If order matters for your question, sort on the timestamp, not the row number.
The row number is still useful: it gives every row a fixed address you can come back to after sorting, so you can restore the original order by sorting on it again. Keep it.
Sort the file the way you need
Oldest first (chronological). Sort by posted_at_utc ascending. If your spreadsheet treats the column as text, the format 2026-11-01 14:05:09 still sorts correctly as text because the largest unit comes first. In Google Sheets: Data, Sort range, Advanced range sorting options, then choose the column.
Most liked first. Sort by likes descending. This is a better proxy for “top comments” than any app ordering you cannot see.
Threads together. Replies are rows in the same file, linked to their parent. To read each conversation in order, add a helper column =IF(H2="yes", I2, B2), where H is is_reply, I is the parent’s comment ID and B is comment_id, then sort by that column, then is_reply, then posted_at_utc. The full recipe is on the replies page.
Earliest comment per person. Sort oldest first and then use the one per person filter on the results page, which keeps the first comment for each commenter. Sorting on the results page changes the order of the list, not which comment is kept.
Pinned comments
An account can pin a comment so that it shows at the top of the comment section in the app. The export does not have a “pinned” column, and the file does not move a pinned comment to the top. So you cannot read pinned status from the export.
What you can do is look for it from the content. A pinned comment is usually one written by the account itself or by a person the account chose to feature. Filter or search for the account’s own username and read those rows: the pinned one is often among them. You can confirm the actual pinned comment in the app in a few seconds, which is more reliable than inferring it from the file.
The same goes for anything else the app marks visually, such as a creator’s “liked by” heart. The file contains the comments and their like counts, not those markers.
When order changes between two exports
If you export the same post twice, you may see differences. New comments will be added, comments can be deleted or removed by moderation, and likes will have changed. The row numbers of the same comment can also differ between exports. Match rows between two exports with comment_id, which belongs to the comment, not to its position. A lookup that works in Excel and Google Sheets:
=COUNTIF(Old!B:B, B2)
A result of 0 means the comment was not in the older file. Use likes differences to see which comments gained engagement in between. For how counts and snapshots work, see why the comment count does not match.
A note for disputes and audits
If a decision depends on who commented first or on a deadline, keep the original download, do not edit it, and work in a copy. Record the post link and the date you fetched it. The export is a snapshot at fetch time and stays downloadable from the results link for 30 days. Instagram’s own count may include comments that are hidden from everyone, so the file can have fewer rows than the app shows. Read more on the comment counter page, or fetch a post with the tool on the home page.
FAQ
Are exported comments in chronological order?
Not guaranteed. Rows are numbered in the order they were collected. Sort by posted_at_utc if you need oldest to newest.
Why is the order in the Instagram app different from my file?
The app shows comments in a ranked order, loaded in batches, with replies collapsed. The file lists every comment and reply as a row with a timestamp.
Does the export show which comment is pinned?
No. There is no pinned column. Check the app for the pinned comment, or look at rows from the account itself.
How do I find the first commenter?
Sort by posted_at_utc ascending. The earliest timestamp is the first comment in the file, which can include comments from hidden or filtered accounts only if Instagram served them.
How do I match comments between two exports?
Use comment_id. It stays with the comment, while row numbers can change between exports.