diff --git a/src/components/ReportActionItem/MoneyRequestPreview.js b/src/components/ReportActionItem/MoneyRequestPreview.js index 8dcdb32e530a..960b7e9af7dc 100644 --- a/src/components/ReportActionItem/MoneyRequestPreview.js +++ b/src/components/ReportActionItem/MoneyRequestPreview.js @@ -154,8 +154,9 @@ function MoneyRequestPreview(props) { const participantAccountIDs = props.isBillSplit ? lodashGet(props.action, 'originalMessage.participantAccountIDs', []) : [managerID, ownerAccountID]; const participantAvatars = OptionsListUtils.getAvatarsForAccountIDs(participantAccountIDs, props.personalDetails); + const sortedParticipantAvatars = _.sortBy(participantAvatars, (avatar) => avatar.id); if (isPolicyExpenseChat && props.isBillSplit) { - participantAvatars.push(ReportUtils.getWorkspaceIcon(props.chatReport)); + sortedParticipantAvatars.push(ReportUtils.getWorkspaceIcon(props.chatReport)); } // Pay button should only be visible to the manager of the report. @@ -301,7 +302,8 @@ function MoneyRequestPreview(props) {