implement #all for sorted collections
implement methods for sorted collection