Sort the blocks database in reverse order, allowing us to remove the first block without iterating over them. Output the block number to debug.