fixing distribution sort import issue