fix sorting of the block devices