intuit / intuit/common-xtext-expression-language

Sorting support for primitive arrays

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
enhancement moderate
Dominant language
Java
Stars
11
Forks
6
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The sort function does not support sorting primitive arrays like below
```sort(["foo", "bar", "foobar"])```

**Describe the solution you'd like**
Support the example above

Contributor guide

Open the contributing guide

Research direction

Start by locating the sort function implementation and its existing tests in the CXEL runtime, then trace how array literals are represented and passed to that function. Add coverage for sort(["foo", "bar", "foobar"]) and verify that the expression evaluates to a sorted primitive array.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.