In NetLogo 6.1: how do I find the property of sorted turtles?

Viewed 24

I am a new NetLogo user. How do I get the property of sorted turtles?

clear-all

create-turtles 5

foreach (sort turtles) [ask ? [show who]]

However, the above code produces the error below

ERROR: Nothing named ? has been defined.

1 Answers
Related