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: ['5059', 'C', '7271', '1145', 'G', 'k', 'H', '1531', '6343', 'u', '2799', 'E', 'o', '253', '223', '8043', '2257', '1065', '5991', 'W']

SOLUTION: C, G, k, H, u, E, o, W, 5059, 7271, 1145, 1531, 6343, 2799, 253, 223, 8043, 2257, 1065, 5991

PROBLEM: ['7455', 'p', '77', '3019', '135', '7585', '8201', '7115', '6619', 'F', '8747', 'K', 'p', '577', '5725', '1403', 'B', 'G', '627', 'S', '7325', '9579', '1985', 'W', '539', 'L']

SOLUTION: p, F, K, p, B, G, S, W, L, 7455, 77, 3019, 135, 7585, 8201, 7115, 6619, 8747, 577, 5725, 1403, 627, 7325, 9579, 1985, 539

PROBLEM: ['q', '7717', 'p', '3007', '4239', '5147', '3987', '1155', '9033', '5559', '7201', 'u', 'b', '3161', 'V', '7649', 'l', '4175', '1773', 'S', 'A', 'u', '5635', '2961', '4625', 'D', 'w', '695', '8881']

SOLUTION:
q, p, u, b, V, l, S, A, u, D, w, 7717, 3007, 4239, 5147, 3987, 1155, 9033, 5559, 7201, 3161, 7649, 4175, 1773, 5635, 2961, 4625, 695, 8881