Something like this:
Same thing but sorted:
If you have further questions, post a grasshopper file with internalised data.
Please follow the link and read this entire post:
-Kevin