@Throws(IOException::class) fun wrap(reader: LeafReader?, sort: Sort?): LeafReader? { return wrap(reader, org.junit.runner.manipulation.Sorter(sort).sort(reader)) }
Return a sorted view of < code > reader < /code > according to the order defined by < code > sort < /code > . If the reader is already sorted , this method might return the reader as-is .