PromucFlow_constructor/app
Rimil Dey 2bac17b1af
fix: Alphanumeric sorting of options in action selector sub menu (#22216)
## Description

- The selector view in the action selector had options being sorted
alphabetically. The sorting logic was not considering alphanumeric
values where the order should be Page1, Page2, Page10, Page21 instead of
Page1, Page10, Page2, Page21
 - Add tests for the fix
 - Move the logic to its own functions

Fixes #22178 

**Media**

![Screenshot 2023-04-10 at 2 33 48
PM](https://user-images.githubusercontent.com/10229595/230870454-351dacb0-0f2a-4a6e-abe6-a9376363684f.png)

![Screenshot 2023-04-10 at 2 34 02
PM](https://user-images.githubusercontent.com/10229595/230870486-77062728-7212-44ba-9af1-4d90080c87a8.png)

![Screenshot 2023-04-10 at 2 33 17
PM](https://user-images.githubusercontent.com/10229595/230870543-20e438eb-0ebc-4cd8-b051-0b386f2ee772.png)

![Screenshot 2023-04-10 at 2 33 28
PM](https://user-images.githubusercontent.com/10229595/230870579-46db0082-ac49-48a9-a211-fefb7ae831a6.png)


## Type of change

- Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?

- Manual
- Jest

### Test Plan


### Issues raised during DP testing


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-04-11 12:56:49 +05:30
..
client fix: Alphanumeric sorting of options in action selector sub menu (#22216) 2023-04-11 12:56:49 +05:30
rts fix: Adding dependencies in RTS (#22192) 2023-04-10 11:12:55 +05:30
server fix: Hint text in create query (sql based datasources) (#22190) 2023-04-10 17:50:09 +05:30
shared fix: Adding dependencies in RTS (#22192) 2023-04-10 11:12:55 +05:30
util