Sorted all blocks into packages