Added sorting
Docs formatting