Split sorts into two different files