I am using Modelbuilder in Arcmap 10.2 to try and find a way to select the first 10 records sorted by Category and then by Distance. For example, my table has 100 banks and 100 churches, which is the “Category” field, and I have the distance from my site to each record stored in the “Distance” field. Essentially I want to be able to select the 10 closest banks and the 10 closest churches and export the selected records, either using a tool in modelbuilder or through python. Please let me know if you have any suggestions. Thanks.
↧