- {AppBskyFeedDefs.isBlockedPost(reply) && (
-
- )}
- {AppBskyFeedDefs.isNotFoundPost(reply) && (
-
- )}
- {AppBskyFeedDefs.isBlockedAuthor(reply) && (
-
- )}
+ replyChains
+ .sort((a, b) => sortThread(a[0], b[0], threadPreferences))
+ .map((replyArr, i) => (
+
+ {replyArr.map((reply, j) => (
+
+ {AppBskyFeedDefs.isBlockedPost(reply) && (
+
+ )}
+ {AppBskyFeedDefs.isNotFoundPost(reply) && (
+
+ )}
+ {AppBskyFeedDefs.isBlockedAuthor(reply) && (
+
+ )}
- {AppBskyFeedDefs.isThreadViewPost(reply) && j < MAX_REPLIES && (
-
- )}
-
- ))}
-
- ))}
+ {AppBskyFeedDefs.isThreadViewPost(reply) &&
+ j < MAX_REPLIES && (
+
+ )}
+