divide sorts into counting and dstribution sort files