Array.sort

Ditto, but use opCmp by default

  1. typeof(this) sort()
  2. typeof(this) sort()
    struct Array(T)
    extern (D) ref nothrow
    typeof(this)
    sort
    ()
    ()
    if (
    is(typeof(this.data[0].opCmp(this.data[1])) : int)
    )

Meta