# Sorting, grouping, and range search for \`zli lt\` and \`zli la\`

## `zli v. 6.32.0`

### Enhancements

* **`zli lt` and `zli la` support sorting, grouping, filtering by id, and range search.** This release of the `zli` contains optional flags to group the results of `zli lt` and `zli la` based on target and agent name, type, environment, version, status, and region. The results are sorted alphabetically. By default, results are grouped by type (alphabetical) and then alphabetized by target name. If you are expecting a large number of results and only want to see the first 10 results, you can specify that amount using the range filter
* **`zli` configuration with LevelDB.** The `zli` configuration is better enabled for asynchronous updates to work more seamlessly with LevelDB
* **`zli` dependencies.** Updated `zli` dependencies

***

## Web app & backend

### Enhancements

* **`zli lt` and `zli la` support sorting, grouping, filtering by id, and range search.** This release of the backend contains the changes necessary to support the `zli`'s enhancement to sorting, grouping, and filtering targets and agents
* **Windows agent.** This release of the backend contains the changes necessary to support the renaming of the Windows agent to `bzero-agent.exe` (formerly `agent.exe`)

### Fixes

* **`list-agents -e`.** Resolved an issue with the results returned when using `list-agents -e`&#x20;
* **Connect to Kubernetes targets without specifying a target group.** Resolved an issue with connecting to a Kubernetes target when you have multiple target groups configured. If no target group is specified, BastionZero will attempt to connect using only the specified target user. You must specify a target group in the case where multiple groups are enabled; otherwise, you can use `zli default-targetgroup` to specify a default group for your user

For questions or to provide feedback on how we can improve our updates, reach out to [<mark style="color:purple;">product@bastionzero.com</mark>](mailto:product@bastionzero.com).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://changes.bastionzero.com/2023/sorting-grouping-and-range-search-for-zli-lt-and-zli-la.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
