Skip to content

sort

Category: Collection

Returns the collection sorted by the specified criteria (placeholder implementation)

  • Return type: collection
  • Parameters:
    • criteria expression — Expression to sort by (optional)
Patient.name.sort()
Bundle.entry.sort(resource.id)