Sort block list by height