Jump to Content
Pebble StreamJoin Zen's Slack
DocumentationRecipesCommunity Discussions
v1.0

Join Zen's SlackLog InPebble Stream
Documentation
Log In
v1.0DocumentationRecipesCommunity Discussions

Enterprise Documentation

  • Getting Started with Pebble Stream
  • Spreadsheet Design Best Practices
  • Writing Performant Spreadsheets
  • Supported Spreadsheet Functions
  • Runtime API
    • Clojure
    • C#
    • JavaScript
    • Java
  • Pebble Flow Workflow Server
    • Deploying the Pebble Flow Workflow Server
    • The Pebble Flow API
    • Advanced Configuration
    • Pebble Flow Workflow Server Release Notes
  • Pebble Stream Runtime Release Notes
  • Pebble Stream System Status

Directives

  • Transformative Directives
    • from
    • cartesian-product
    • join
    • outer-join
    • filter
    • sort
    • group
    • group-unique
    • group-sum
    • group-ratio
    • header-map
    • split
    • paths
  • Annotative Directives
    • allowed-values
    • div/0
    • do-not-compile
    • fail
    • grouped
    • header-count
    • hint
    • identical-columns
    • ignore
    • not-blank
    • out
    • sorted
    • unique
    • warn
  • Generative Directives
    • match-rows
    • stop

Zen Documentation

  • Introduction
  • Best Practices
  • Getting Started with Zen
    • Things to take note
    • Setup 101
  • Features
    • Worksheet Styling & Theming
    • Preferences
  • Directives
    • from
    • match-rows
    • cartesian-product
    • join
    • outer-join
    • filter
    • group
    • sort
  • Troubleshooting
  • Feedback
  • Release Notes
Powered by 

sorted

This directive will stop the spreadsheet execution if the values in the specified column are not sorted.

Suggest Edits
pebblestream:sorted[:(asc|desc)][:<number>]

The runtime will throw an exception if this column is not sorted, ascending by default. If multiple are placed in the same sheet, the columns will be considered multiple keys for the same sorted check, and they should each have a number to indicate their order for breaking ties (lower = earlier).

Example

Updated about 3 years ago