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: ['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: ['Z', '3669', '559', 'L', 'W', '2881', 'u', 'y', '3471', 'U', '9219', '9793', 'V', 'u', 'f', '3561', 'z', 'n', '7531', 'F', '4165', '9887', '4731', '4465', 'g', '3493', 'C', 'N', '7309', 'm', 'c', '6599', 'o', 'J', '4271']

SOLUTION: Z, L, W, u, y, U, V, u, f, z, n, F, g, C, N, m, c, o, J, 3669, 559, 2881, 3471, 9219, 9793, 3561, 7531, 4165, 9887, 4731, 4465, 3493, 7309, 6599, 4271

PROBLEM: ['f', '1299', '2895', '371', '4807']

SOLUTION:
f, 1299, 2895, 371, 4807