Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


list with elements in l sorted in a specified order.

Short description

Returns a

Status
subtletrue
titlelist
Output

Status
subtletrue
titlelist

Available since

Status
subtletrue
colourBlue
title2.1.27




Panel

Supported list types

Table of Contents
exclude(Supported list types).*
stylecircle
typeflat
separatorpipe


Number list

number list with elements in l sorted in a specified order. Available orders are ASC (for ascending order) and DESC (for descending order).

UI Text Box
sizemedium
typeinfo

The This function returns a

Status
subtletrue
title


Code Block
languagebash
titleSyntax
linenumberstrue
sort(number list l, order) #Output: Number list


UI Expand
titleExamples


following number list : [1, 2, 3, 4]

Parser expressionDescription


Code Block
languagebash
linenumberstrue
sort([2, 4, 3, 1], ASC) 


The function This example returns the

Status
subtletrue
title



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The function returns a

Status
subtletrue
titlenumber list



Text list

UI Text Box
sizemedium
typeinfo

Returns This function returns a text list with elements in l lexicographical order. Available orders are ASC (for ascending order) and DESC (for descending order).


Code Block
languagebash
titleSyntax
linenumberstrue
sort(string list l, order) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
sort(["red", "blue", "green"], ASC)


The function returns the

Status
subtletrue
titlenumber list
This example returns the following text list : ["blue", "green", "red"]



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The function returns a

Status
subtletrue
titletext list



Issue list

UI Text Box
sizemedium
typeinfo

The This function returns an 

Status
subtletrue
titleIssue list
issue list with elements in l ordered according to values of field.

Argument field has the format {nnnnn} for numeric and date-time fields, %{nnnnn} for text fields, or %{nnnnn.i} for cascading select fields. Available orders are ASC (for ascending order) and DESC (for descending order).


Code Block
languagebash
titleSyntax
linenumberstrue
sort(issue list l, field field, order) #Output: Issue list


UI Expand
titleExamples


This example returns the issue list of issues blocking current issue, sorted in ascending order by Duedate.

{00012} is code for numeric value of Due date.

Parser expressionDescription


Code Block
languagebash
linenumberstrue
sort(linkedIssues("is blocked by"), {00012}, ASC)


The function returns the

Status
subtletrue
title



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.
<parameter>xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

The function returns an

Status
subtletrue
titleissue list