public Gather < T > order ( Ordering < T > ordering ) { Collection < T > sorted = ordering . sortedCopy ( list ( ) ) ; elements = Optional . fromNullable ( sorted ) ; return this ; }
Sort elements by special ordering