-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d8165c
commit e1d18fa
Showing
4 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,35 @@ | ||
Ordering criteria are used in two situations: | ||
|
||
## Strings | ||
### Encoding ordering | ||
### Lexicographic ordering | ||
### Pseudo-random ordering | ||
### Dot modifier | ||
- in `order-by` attributes of cycles of every type except `for-range` | ||
- as basic boolean binary operator in the RPN vm | ||
|
||
## Nodes | ||
## Order types | ||
|
||
## Integers | ||
### `ASC` & `DESC` | ||
|
||
## Floats | ||
### `RANDOM` | ||
|
||
## Booleans | ||
Data of any type is first hashed. | ||
For integers, floats and booleans this only involves their immediate data. | ||
For strings the characters buffer. Order will be based on the numerical comparison of the hash. | ||
For strings adopting the dot notation, each token is handled separately in hashing and comparing. | ||
|
||
## Comparison operators for supported types. | ||
|
||
### Nodes | ||
|
||
### Integers | ||
|
||
### Floats | ||
|
||
### Booleans | ||
|
||
### Strings | ||
|
||
#### Natural ordering | ||
|
||
#### Lexicographic ordering | ||
|
||
#### Pseudo-random ordering | ||
|
||
#### Dot modifier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters