diff --git a/src/ui/torrent_details.js b/src/ui/torrent_details.js index db919ad..bafa987 100644 --- a/src/ui/torrent_details.js +++ b/src/ui/torrent_details.js @@ -279,7 +279,7 @@ class Torrent extends Component {
{this.state.filesShown ? files.slice() - .sort((a, b) => a.path.localeCompare(b.path)) + .sort((a, b) => a.path.localeCompare(b.path, undefined, {numeric: true})) .map(file =>