July 23, 2020
https://issues.dlang.org/show_bug.cgi?id=21068

          Issue ID: 21068
           Summary: Cannot sort a RandomAccessFinite range
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: andrei@erdani.com

Per https://run.dlang.io/is/An0kxM, it looks like sort does not work with a RandomAccessFinite range. It should because the range offers moveAt, which should be enough for moving elements around.

--