Fix sortBy('weight') -- use numerical ordering (not dictionary ordering)