From 38cb930e4960ea4962a40f76dd57d449162ca381 Mon Sep 17 00:00:00 2001 From: petershintech <46059512+petershintech@users.noreply.github.com> Date: Fri, 22 Feb 2019 11:56:23 +1100 Subject: [PATCH] Fix a typo. --- docs/src/standalonequerycommands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/standalonequerycommands.md b/docs/src/standalonequerycommands.md index 726602bd..c7da270a 100644 --- a/docs/src/standalonequerycommands.md +++ b/docs/src/standalonequerycommands.md @@ -99,7 +99,7 @@ println(x) There are four commands that are used to sort data. Any sorting has to start with either a `@orderby` or `@orderby_descending` command. `@thenby` and `@thenby_descending` commands can only directly follow a previous sorting command. They specify how ties in the previous sorting condition are to be resolved. -The general sorting command form is `source |> @orderby(key_selector)`. `source` can be any source than can be queried. `key_selector` must be an anonymous function that returns a value for each element of `source`. The elements of the source are then sorted is ascending order by the value returned from the `key_selector` function. The `@orderby_descending` command works in the same way, but sorts things in descending order. The `@thenby` and `@thenby_descending` command only accept the return value of any of the four sorting commands as their `source`, otherwise they have the same syntax as the `@orderby` and `@orderby_descending` commands. +The general sorting command form is `source |> @orderby(key_selector)`. `source` can be any source than can be queried. `key_selector` must be an anonymous function that returns a value for each element of `source`. The elements of the source are then sorted is in ascending order by the value returned from the `key_selector` function. The `@orderby_descending` command works in the same way, but sorts things in descending order. The `@thenby` and `@thenby_descending` command only accept the return value of any of the four sorting commands as their `source`, otherwise they have the same syntax as the `@orderby` and `@orderby_descending` commands. #### Example