human
How do I sort a list with positives coming before negatives with values sorted respectively?
assistant
Here is some code to sort list `lst` with positives coming before negatives with values sorted respectively

sorted(lst, key=lambda x: (x < 0, x))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.