NetLogo's `sort` primitive doesn't remove duplicates: observer> show sort [3 2 1 1 2 3 3 2 1] observer: [1 1 1 2 2 2 3 3 3]
So, I'm unable to understand your request. The code you've provided that purports to illustrate the problem is quite complicated and difficult to follow. Are you able to demonstrate the issue more simply? (And by the way, what version of NetLogo are you using? I'm using NetLogo 6.2.0.) Seth -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/netlogo-devel/CAOoO2vhxqi6NCC5rC%3D1jHV_x000SighBPcUJBej37a8KUpdN9w%40mail.gmail.com.