JSON/q

A JSON-based data access specification

Arguments

[
  [
    "zero", 
    "one", 
    "two", 
    "three", 
    "four", 
    "five", 
    "six", 
    "seven", 
    "eight", 
    "nine"
  ]
]

Query

{
  "as": "d", 
  "from": "args[0]", 
  "order": [
    "d.length()", 
    "d"
  ], 
  "select": "d"
}

Results

{}