JSON/q

A JSON-based data access specification

Arguments

[
  [
    "aPPLE", 
    "AbAcUs", 
    "bRaNcH", 
    "BlUeBeRrY", 
    "ClOvEr", 
    "cHeRry"
  ]
]

Query

{
  "as": "a", 
  "from": "args[0]", 
  "order": [
    "a.length()", 
    {
      "using": "nocase", 
      "by": "a"
    }
  ], 
  "select": "a"
}

Results

{}