I’ve got a list of servernames, database names and database sizes that I want to sort into two groups based on size, alternating between group 1 and group 2. So, biggest in gp1, 2nd biggest in gp2, 3rd biggest in gp1 and 4th biggest in gp 2…etc.
How can I do that?