Sort items does not work with linked data

It is not possible to sort items using a linked field. The internal identifier is used to sort items instead of the actual content of the field.

I think it is a bug.

For example, with Creator as a linked field, this query:

/item?item_set_id=6723&page=1&sort_by=dcterms:creator&sort_order=asc

will not produce an alphabetically sorted list of the creator’s names but a list sorted from the first imported item to the last. The first imported item has the smaller ID number so it appears the sorting is using the internal ID number (or the url which is the same).

1 Like

Hi, I’m really interested in this topic: did you find any solution?
Thanks