fix vector space score sorting