array sorting example added, reader interface fix