Need a sort() function

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
pilusona
Posts: 39
Joined: 02 Dec 2012 03:47
Location: India

Need a sort() function

Post by pilusona » 10 Dec 2013 02:26

Hi Martin,
Is it possible to add a new function to sort any input array by asc/desc and also taking them as number or lexicographically? This I need after calling the getFlowNames() as it is returned an unordered list.

Thanks.
Samsung Galaxy Note 8
Android 9.
Non-rooted

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Need a sort() function

Post by Martin » 10 Dec 2013 17:23

Hi,

Sure, I add a sort function to my todo-list but it will not make it into version 1.20 anymore since I'm only fixing bugs for v1.20.
The next build of v1.20 will sort the flow list ascending (case insensitive).

Regards,
Martin

pilusona
Posts: 39
Joined: 02 Dec 2012 03:47
Location: India

Re: Need a sort() function

Post by pilusona » 11 Dec 2013 05:17

Hi Martin,

Thanks for your support.
Samsung Galaxy Note 8
Android 9.
Non-rooted

pilusona
Posts: 39
Joined: 02 Dec 2012 03:47
Location: India

Re: Need a sort() function

Post by pilusona » 26 Dec 2013 05:48

Hi Martin,

Now the getFlowNames() returns lexicographically sorted list. Thanks Martin. :)

Thanks and regards,
Samsung Galaxy Note 8
Android 9.
Non-rooted

Locked