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: ['D', 'D', 'O', '173', 'D', 'Q', '3133', '7227', 'j', '8037', 'g', '5337', 'O', '1113', 'X', '1053', 'Q', '4597', '1461', 'x', 'I', '4671', 'U', '7495', 's', '8333', '4627', '1005', 'p', '6697', 'C']

SOLUTION: D, D, O, D, Q, j, g, O, X, Q, x, I, U, s, p, C, 173, 3133, 7227, 8037, 5337, 1113, 1053, 4597, 1461, 4671, 7495, 8333, 4627, 1005, 6697

PROBLEM: ['B', 'T', 'y', '4863', '715', 'O', 'i', 'n', '4171', '5175', 's', '4793', '9007', '9755', 'o', 'z', 'S', 'J', 'b', 'q', '5045', '7965']

SOLUTION: B, T, y, O, i, n, s, o, z, S, J, b, q, 4863, 715, 4171, 5175, 4793, 9007, 9755, 5045, 7965

PROBLEM: ['8799', 'V', '247', 'K', 't', '2431', 'L', 'p', 'U', 'H', '7013', 'G', '3943', '1285', 'Z', '7461', 'C', 'o', 'D', 'U', 'I', 'R', 'C', '8427', '911', 'z', 'D', 'l', '6435', 'O', '3709', 'b', '2415', '6505', 'K', 'X']

SOLUTION:
V, K, t, L, p, U, H, G, Z, C, o, D, U, I, R, C, z, D, l, O, b, K, X, 8799, 247, 2431, 7013, 3943, 1285, 7461, 8427, 911, 6435, 3709, 2415, 6505