Sort by occurence working.