Hello Monks,
i m trying to use ST on a big file with many records separated by '|'.I need to build the key dynamically as there are many queries, though the keys(can go max to 30) for a query would be same.The data to be sorted looks like :-
12312.123|John|johon07@yahoo.com||Sunnyvalle California US|<200010>
24.23|Sam|Sam04@yahoo.com||Hong Kong|<200020>
123123124.123|Tina|tina2007@gmail.com||London|<100030>
123124.123|Lucas|Lucas_fighter2025@yahoo.com||New York US|<200040>
since i want to generalize the sort subroutine how do i construct the sort sub that would first find the type of the key and then contruct the sort expression that would run on a list.
Thanks
In reply to Build Sort dynamically by libvenus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |