allow sorting blocks, refs #63