Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-780

Support natural descending sort in LINQ

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Linq
    • None

    Description

      I believe there's no way to do a $natural descending sort using LINQ, which can be useful for capped collections. A $natural ascending sort is the default sort order, so supporting this is not strictly necessary.

      Suggest a new OrderNaturalDescneding LINQ extension method to support this scenario.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            zaidmasud Zaid Masud
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: