Skip to content

Sort removed files#102

Merged
sindresorhus merged 1 commit intosindresorhus:masterfrom
chrisblossom:consistent-return-order
Jul 16, 2019
Merged

Sort removed files#102
sindresorhus merged 1 commit intosindresorhus:masterfrom
chrisblossom:consistent-return-order

Conversation

@chrisblossom
Copy link
Copy Markdown
Contributor

#99 (comment) After thinking about this comment I think this PR should be updated to use .sort((a, b) => a.localeCompare(b)) instead of .reverse() to consistently return the same order every time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants