How to sort numbers without repeating (table.sort)

Thanks Davebollinger
Your smart way.
I loved her.

From the Moses Library


unique (array)

Aliases: uniq.

Makes an array duplicate-free.

M.unique {1,1,2,2,3,3,4,4,4,5} -- =\> "{1,2,3,4,5}"

:rolleyes: :rolleyes: :rolleyes: :rolleyes:

Some shared Penlight on the Slack group a while ago and it’s also a cool library.