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: ['4239', '3547', 'Z', '8393', 'd', 'p', '5735', '2043', 'v', 'b', 'M', '3807', 'H']

SOLUTION: Z, d, p, v, b, M, H, 4239, 3547, 8393, 5735, 2043, 3807

PROBLEM: ['1353', '917', 'W', '3863']

SOLUTION: W, 1353, 917, 3863

PROBLEM: ['J', 'M', 'j', 'F', '6001', '2407', '6451', 'g', '9469', 'C', '1539', '6561', 'O', 'L', 'A', '5641', 'y', 'C', '1975', 'T', '4949', 'M', 'Y', 'G', 'G', '7347', 'e', 'X', '2011', 'D', 'B', '8661', 'w', '879', '5477']

SOLUTION:
J, M, j, F, g, C, O, L, A, y, C, T, M, Y, G, G, e, X, D, B, w, 6001, 2407, 6451, 9469, 1539, 6561, 5641, 1975, 4949, 7347, 2011, 8661, 879, 5477