kat sorting