re-instated vclock sort