Title: Sort is incorrect for strings containing the '-' character · Issue #3425 · PowerShell/PowerShell · GitHub
Open Graph Title: Sort is incorrect for strings containing the '-' character · Issue #3425 · PowerShell/PowerShell
X Title: Sort is incorrect for strings containing the '-' character · Issue #3425 · PowerShell/PowerShell
Description: From UserVoice https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/18580849-bug-sort-is-incorrect-for-strings-containing-the Steps to reproduce "somefile1","somefile2","s-abc","s-little","s-foo","s-poo","s-wtf" | sor...
Open Graph Description: From UserVoice https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/18580849-bug-sort-is-incorrect-for-strings-containing-the Steps to reproduce "somefile1","somefile2","s-abc",...
X Description: From UserVoice https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/18580849-bug-sort-is-incorrect-for-strings-containing-the Steps to reproduce "somefile1","some...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3425
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sort is incorrect for strings containing the '-' character","articleBody":"From UserVoice https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/18580849-bug-sort-is-incorrect-for-strings-containing-the \r\n\r\nSteps to reproduce\r\n------------------\r\n\"somefile1\",\"somefile2\",\"s-abc\",\"s-little\",\"s-foo\",\"s-poo\",\"s-wtf\" | sort \r\n\r\nExpected behavior\r\n-----------------\r\ns-abc \r\ns-foo \r\ns-little \r\ns-poo \r\ns-wtf\r\nsomefile1 \r\nsomefile2 \r\n\r\nActual behavior\r\n---------------\r\ns-abc \r\ns-foo \r\ns-little \r\nsomefile1 \r\nsomefile2 \r\ns-poo \r\ns-wtf\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\nName Value\r\n---- -----\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nPSVersion 6.0.0-alpha\r\nPSEdition Core\r\nBuildVersion 3.0.0.0\r\nSerializationVersion 1.1.0.1\r\nPSRemotingProtocolVersion 2.3\r\nCLRVersion\r\nWSManStackVersion 3.0\r\nGitCommitId v6.0.0-alpha.17\r\n```\r\n","author":{"url":"https://github.com/iSazonov","@type":"Person","name":"iSazonov"},"datePublished":"2017-03-25T18:30:11Z","url":"https://github.com/PowerShell/PowerShell/issues/3425"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:681e4e1a-f172-9187-9a5d-487d3507d0da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7B0:40779:F721D:15F5CC:6AFD4C8C |
| html-safe-nonce | d4bc8ce32bb7cc4aa4baee8e3dbfc78e484608df9f1bfec23da4317166e44d51 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0IwOjQwNzc5OkY3MjFEOjE1RjVDQzo2QUZENEM4QyIsInZpc2l0b3JfaWQiOiI0MzI1MzE1MjUyMjE1Njc2MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1edd6164c5ace2e374fb55a442d47aee0889c733ff453293fdf6e5e9141cb8c7 |
| hovercard-subject-tag | issue:216993939 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/3425/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d7c96dec6ab1dcb5394596d387577d9e82b9c5ca6ba099c4d3be61be69559ffa/PowerShell/PowerShell/issues/3425 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7c96dec6ab1dcb5394596d387577d9e82b9c5ca6ba099c4d3be61be69559ffa/PowerShell/PowerShell/issues/3425 |
| og:image:alt | From UserVoice https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/18580849-bug-sort-is-incorrect-for-strings-containing-the Steps to reproduce "somefile1","somefile2","s-abc",... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iSazonov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width