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: ['R', 'X', 'm', 'v', 'W', '6965', 'Y', '2865', 'g', '5825', '3917', 'x', 'J', 'L', 'T', 'Y', '3815', '97', '3555', '4811', 'V', 'U']

SOLUTION: R, X, m, v, W, Y, g, x, J, L, T, Y, V, U, 6965, 2865, 5825, 3917, 3815, 97, 3555, 4811

PROBLEM: ['5111', '3581', 'U', 'H', 'i']

SOLUTION: U, H, i, 5111, 3581

PROBLEM: ['5441', '5359', 'M', '23', '7021', '4341', '1529', '2723', '675', '2473', 's', 'S', 'G', '4319', 'D', '3329', 't', '8897', '6785', 'p', 'H', 'e', '7999', '8189', 's', 'i', '2559', '343', '2269', '5655', '3037', 'r', '963', 'i', 'q', '4099', 'v', '1867', 'k', '3081']

SOLUTION:
M, s, S, G, D, t, p, H, e, s, i, r, i, q, v, k, 5441, 5359, 23, 7021, 4341, 1529, 2723, 675, 2473, 4319, 3329, 8897, 6785, 7999, 8189, 2559, 343, 2269, 5655, 3037, 963, 4099, 1867, 3081