Added sorting to blocks.
Merge pull request #32 from Ch4s3/block_sort

Added sorting to blocks.