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: ['Q', 'U', 'A', 'T', 'J', '7919', '2883', '2859', 'H', '2701', '1417', '1373', 'T', '7001', '3935', '4299', '7305', '3573', 'x', '6195', 's', 'e', '3791', 'O', '945', 'M', 'g', '5671', '7883', '2281', '967', '9253', '919', '8453']

SOLUTION: Q, U, A, T, J, H, T, x, s, e, O, M, g, 7919, 2883, 2859, 2701, 1417, 1373, 7001, 3935, 4299, 7305, 3573, 6195, 3791, 945, 5671, 7883, 2281, 967, 9253, 919, 8453

PROBLEM: ['g', 'V', '5193', '9999', '4727', 'p', 'G', 't', '255', '4987', '2295', 'Z', 'l']

SOLUTION:
g, V, p, G, t, Z, l, 5193, 9999, 4727, 255, 4987, 2295