tk word sort validation works