LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  How to make SORT Node not case sensitive

    Employee
    Posted 10-09-2013 08:13

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Gaetan.Patry

    I am using the SORT node to sequence names that have typos, including being written in lower and upper case.
    I realized that the SORT node first sorts names with upper case letters and then lower case letters.
    For example, the names Love1, LOVE2, Lava1, LAVA2 will be sorted, by the SORT Node, as LAVA2, LOVE2, Lava1, Love1.
    What I was expecting is more like Lava1, LAVA2, Love1, LOVE2 , which is what I get when I use the AZ Sort button in the BRDViewer.

    Is there an option or a way to force the SORT Node to behave the same as the SORT Button in BRDViewere and NOT be case sensitive.

    Thanks,
    Ga�tan


  • 2.  RE: How to make SORT Node not case sensitive

    Employee
    Posted 10-09-2013 08:47

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    In the sort node, simply put

    Field.toUpper()

    and the records will be sorted based upon that - it won't change the data, just the criteria for the sort order


  • 3.  RE: How to make SORT Node not case sensitive

    Employee
    Posted 10-09-2013 10:20

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Gaetan.Patry

    Great! tested and working!
    Thanks for the quick reply