Skip to content

[iOS/tvOS/MacCatalyst] String comparer for sorting numeric strings logically #109999

@PranavSenthilnathan

Description

@PranavSenthilnathan

CompareOptions.NumericOrdering should be supported in Apple platforms. See #13979 for the approved API and discussion. PR #109861 adds the member CompareOptions.NumericOrdering but does not provide a conforming implementation for Apple platforms. The remaining work is to update the platform abstraction layer to support this.

PAL change would be to recognize the dotnet CompareOptions and convert it to the NSString.CompareOptions here

This is the numeric compare option documentation for reference: NSString.CompareOptions API

PR #109861 throws PlatformNotSupportedException when this option is used and skips tests that used this option, so when this is implemented, those guards can be removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions