Re: Does Union[] reliably sort?
- To: mathgroup at smc.vnet.net
- Subject: [mg123811] Re: Does Union[] reliably sort?
- From: Szabolcs <szhorvat at gmail.com>
- Date: Tue, 20 Dec 2011 03:05:24 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jca06e$a35$1@smc.vnet.net>
- Reply-to: comp.soft-sys.math.mathematica at googlegroups.com
Union[] is guaranteed to sort in the sense that Union[data] and Sort@Union[data] will always return exactly the same thing.