Re: reliably sort?
- To: mathgroup at smc.vnet.net
- Subject: [mg123713] Re: reliably sort?
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Fri, 16 Dec 2011 05:49:18 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jca06e$a35$1@smc.vnet.net> <201112150956.EAA23025@smc.vnet.net> <op.v6js80k5tgfoz2@bobbys-imac.local>
- Reply-to: nma at 12000.org
On 12/15/2011 2:44 PM, DrMajorBob wrote: > Michael, > > Sorry, but no. Union always sorts. > > Bobby > You mean Mathematica's Union[] always sorts, right? Because at school the teacher kept telling us that a set has no implied order between its elements. It is just a collection of elements. But a sequence has an order. Result of a Union is a set. Hence one can not talk about a set being sorted. The result is not a set then, but a sequence, but the result of a Union should be a set. --Nasser
- References:
- Re: Does Union[] reliably sort?
- From: "Nasser M. Abbasi" <nma@12000.org>
- Re: Does Union[] reliably sort?