Hello,
How could I sort resultset not by first item?
For example:
Query
GET /Organization?_sort=type
Returns me list of resorces sorted by first item of “type”.
-
resource:
name: Org#1
type:- coding:
- {code: organization_type#1, system: ‘xxxxxxxxxxxxxxxx’, display: orgs#1}
- coding:
- {code: pro#1, system: ‘xxxxxxxxxxxxxxx’, display: pro}
resourceType: Organization
-----------------etc-------------------------------
- {code: pro#1, system: ‘xxxxxxxxxxxxxxx’, display: pro}
- coding:
-
resource:
name: Org#2
type:- coding:
- {code: organization_type#2, system: xxxxxxxxxxxxxxxxxx’, display: orgs#2}
- coding:
- {code: pro#2, system: ‘xxxxxxxxxxxxxxxxx’, display: pro#2}
resourceType: Organization
-----------------etc-------------------------------
- {code: pro#2, system: ‘xxxxxxxxxxxxxxxxx’, display: pro#2}
- coding:
How could I sort result by second item?
Thanks.