Need help using Comparator with Pickables.getSorted

I could really use an example of one being used.
My aim it so get all the items loaded then sorted by distance to the played.

Thanks in advance

just use queries

Pickables.query().names(item).within(area).whateverElseYouNeed().results().sortByDistance()