Fix http://debbugs.gnu.org/16334
company-capf: Perform sorting before prefix adjustment