Updated to include comments about sets staying sorted or not.
Added HashSet example