---
name: "Prophet::CLI::Command::Search"
section: "3pm"
platform: "linux"
package: "libprophet-perl"
version: "0.743-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Prophet::CLI::Command::Search"
---

# Prophet::CLI::Command::Search(3pm)

### display\_terminal $records

Takes a collection of records, sorts it according to `$sort_routine`, and then prints it to standard output using Prophet::Record-format\_summary\> as the format.

### sort\_by\_prop $prop, $records

Given a property name and an arrayref to a list of records, returns a list of the records sorted by their `"created"` property, in ascending order.

### group\_by\_prop $prop =\> $records

Given a property name and an arrayref to a list of records, returns a reference to a list of hashes of the form:

```
    { label => $label,
      records => \@records }
```
