I can safely say that whenever it appears to work using TreeSet, you're actually getting lucky (or rather, unlucky). Java sort methods make no guarantees that they will detect every violation of the...