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: ['8827', '2225', 'Z', 'N', '3355', 'b', 'n', '4339', '2151', 'M', 'j', 'T', '3925', '8891', '8417', '6521', '1087', 'i', 'A']

SOLUTION: Z, N, b, n, M, j, T, i, A, 8827, 2225, 3355, 4339, 2151, 3925, 8891, 8417, 6521, 1087

PROBLEM: ['1023', '7407', 'q', 'J', '2193', '4717', 'l', 'y', '1633', '5025', '4635', 'R', '9735']

SOLUTION: q, J, l, y, R, 1023, 7407, 2193, 4717, 1633, 5025, 4635, 9735

PROBLEM: ['g', '6655', '5205', '9691', '2187', '2107', '3989', '2683', '4449', 'c', 'w', 'X', 'F', 'e', '7205', 'A', '4927', 'K', '7967', 'd', 'C', 'l', 'i', '941', 'T', '8779', 'X', 'q', 'e', '675', '2565', '8849', '4991', 'u', '7687', 'f', 'f', 'S', 'E', '2451']

SOLUTION:
g, c, w, X, F, e, A, K, d, C, l, i, T, X, q, e, u, f, f, S, E, 6655, 5205, 9691, 2187, 2107, 3989, 2683, 4449, 7205, 4927, 7967, 941, 8779, 675, 2565, 8849, 4991, 7687, 2451