Stream.php returns the stream in reverse order