docs-v2/content/influxdb/cloud/query-data/flux/sort-limit.md

791 B

title seotitle list_title description influxdb/cloud/tags menu weight related list_query_example source
Sort and limit data with Flux Sort and limit data in InfluxDB with Flux Sort and limit Use the [`sort()`function](/flux/v0/stdlib/universe/sort) to order records within each table by specific columns and the [`limit()` function](/flux/v0/stdlib/universe/limit) to limit the number of records in output tables to a fixed number, `n`.
sort
limit
influxdb_cloud
name parent
Sort and limit Query with Flux
203
/flux/v0/stdlib/universe/sort
/flux/v0/stdlib/universe/limit
sort_limit /shared/influxdb-v2/query-data/flux/sort-limit.md