Added sorting example. Examples are now generated.