TASK DEFINITION: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.
PROBLEM: ['3727', 'b', '659', 'S', 'W', 'm', 'U', '8483', 'H', '4495', '6269', '8761', 'p', 'u', 'u', '3611', 't', 'T', '785', '3587', '2139', '7165', '4671', '871', 'K', '3257', '8447', 'r', 'c', '765', '2979']

SOLUTION: b, S, W, m, U, H, p, u, u, t, T, K, r, c, 3727, 659, 8483, 4495, 6269, 8761, 3611, 785, 3587, 2139, 7165, 4671, 871, 3257, 8447, 765, 2979

PROBLEM: ['R', 'b', '9865', '5521', '4333', '7477', '7759', 'T', '7251', '3157', 'e', 'x', '5307']

SOLUTION: R, b, T, e, x, 9865, 5521, 4333, 7477, 7759, 7251, 3157, 5307

PROBLEM: ['L', '461', '615', 'O', '3941', '2515', '4197', '7561', 'N', '5833', 'l', '933', 'r']

SOLUTION:
L, O, N, l, r, 461, 615, 3941, 2515, 4197, 7561, 5833, 933