in reply to Build Sort dynamically

Is ST an abbreviation for "sort" ?

"keys can go max to 30", 30 what? Are you talking about string length?

"keys for a query would be same", are you saying that there can be duplicate keys?

Which field is the key?

If the key is the first field, what do these numbers mean?

"Find the type of key", what different types of keys do you expect ?

Maybe an example of what you want to achieve would be helpful

UPDATE: Strangely Tilly seems to understand what you want. How do you do that, Tilly? ;-)

Replies are listed 'Best First'.
Re^2: Build Sort dynamically
by john_oshea (Priest) on Aug 24, 2008 at 10:02 UTC

    'ST' would be Schwartzian Transform in this particular case.

    Quite how that percolated into my brain having only used an ST maybe twice ever, I really don't know... ;-)

Re^2: Build Sort dynamically
by GrandFather (Saint) on Aug 24, 2008 at 10:36 UTC

    ST is Schwartzian Transform. Knowing that of course you then know everything you need to understand the question. ;)

    If you need a little more information about the ST a Super Search will turn up plenty of stuff around Perlmonks. The canonical node for ST is Schwartzian Transform. There are many good replies to my question about ST that may also be of interest.


    Perl reduces RSI - it saves typing
      Yes, it all wondrously falls into place. Did I mention that I hate abbreviations ;-).
      GF, ST never means Schwartzian Transform, CUL8R
Re^2: Build Sort dynamically
by tilly (Archbishop) on Aug 24, 2008 at 16:49 UTC
    How I do that is context. Rather than starting with everything I don't understand about the question I start with whatever I do. In this case I understood the data structure, and understood that he wants to do complex sorts on it, sometimes numerically and sometimes asciibetically.

    So I began to talk about how to set up complex sorts on this data structure, with different comparisons on different fields. It was not until after I finished that I realized that he meant Schwartzian transform when he said ST.