Sorting blocks

Sorting blocks