Add SampleOrder and LogView extensions.

Adding SampleOrder and LogView extensions.