So, I have lists formatted as a series of varying-length strings each ending in a negative number, such as:
[this that and -32(
[but 35that -23(
I have these coming into my patch at various times, and what I need is a way to check each list as it arrives, and to only pass it if it ends in a negative number smaller than that in any of the previous lists. There may at times be two or three such lists arriving at once, so any solution needs to dynamically compare multiple lists and output the list which ends in the smallest number. Any thoughts on how this could be achieved?