Sorting a custom picker field

I was hoping for advice regarding a Custom picker field I recently setup. It works similar to a dropdown but with text search, so as you start searching.. the dropdown starts filtering based off what was typed. The issue I am having is a small issue I found where if I type AB. (dot) the first codes listed in the dropdown are "TAB." and "AB." comes after it. Screenshot below:

Do you know of a way within a custom picker field like this that I can sort it so that if I type "AB." codes that start with "AB." will be listed first before TAB?

Here is some of the underlying code in case that would help you understand if this is possible or not..

This is the custom picker field:

a!pickerFieldCustom(
                  label: "Strategy Code",
                  placeholder: "--Please type in--",
                  value: if(
                    a!isNullOrEmpty(ri!strategyCodes),
                    {},
                    ri!strategyCodes
                  ),
                  selectedLabels: if(
                    a!isNullOrEmpty(ri!strategyCodes),
                    {},
                    ri!strategyCodes
                  ),
                  suggestFunction: rule!TB_suggestStrategyCodes(
                    filter: _,
                    includeInactive: if(
                      isnull(ri!isActiveFilter),
                      true(),
                      false()
                    )
                  ),
                  saveInto: ri!strategyCodes,
                  maxSelections: 1
                ),

This is the suggestStrategyCodes rule:

a!localVariables(
  local!investmentCodes: index(
    index(
      rule!TB_QE_getStrategyCodes(
        strategyCode: ri!filter,
        includeInactive: ri!includeInactive
      ),
      "data",
      null
    ),
    "strategyCode",
    null
  ),
  a!dataSubset(
    data: local!investmentCodes,
    identifiers: local!investmentCodes
  )
)

And this is where the strategy codes are coming from getStrategyCodes:

a!queryEntity(
  entity: cons!TB_DS_STRATEGY_CODES,
  fetchtotalcount: false(),
  query: a!query(
    paginginfo: a!pagingInfo(
      startIndex: 1,
      batchSize: 250,
      sort: a!sortInfo(field: "id")
    ),
    selection: a!querySelection(
      columns: a!queryColumn(
        field: "strategyCode"
      )
    ),
    logicalexpression: a!queryLogicalExpression(
      operator: "AND",
      ignorefilterswithemptyvalues: true(),
      filters: {
        a!queryFilter(
          field: "id",
          operator: "=",
          value: ri!id,
          applywhen: a!isNotNullOrEmpty(ri!id)
        ),
        a!queryFilter(
          field: "strategyCode",
          operator: "includes",
          value: ri!strategyCode,
          applywhen: a!isNotNullOrEmpty(ri!strategyCode)
        ),
        a!queryFilter(
          field: "isActive",
          operator: "=",
          value: cons!TB_T_IS_ACTIVE_Y,
          applywhen: or(
            a!isNullOrEmpty(ri!includeInactive),
            ri!includeInactive = false()
            )
        )
      }
    )
  )
)

Again, my question is simply if there is a way to sort this custom picker so that when I type "AB." that is prioritized over "TAB." that is currently showing first?

  Discussion posts and replies are publicly visible