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: ['5127', '2471', 'W', 'i', '5941', 'H', 'V', 'M', 'V', '2581', '8199', '5679', 't', '7669', 'E', 'e', 'P', '3317', '8789', 'd', 'f']

SOLUTION: W, i, H, V, M, V, t, E, e, P, d, f, 5127, 2471, 5941, 2581, 8199, 5679, 7669, 3317, 8789

PROBLEM: ['5099', 'U', 't', 'b', 'Q', 'a', '9219', 'p', '463', 'H', '6407', '6749', 'G', 'M', '3207', '2351', '2541', '1543', 'o', 'i', 'k', '6119', 'x', 'Z', 's', 'b', '3567', 'M', '2565']

SOLUTION: U, t, b, Q, a, p, H, G, M, o, i, k, x, Z, s, b, M, 5099, 9219, 463, 6407, 6749, 3207, 2351, 2541, 1543, 6119, 3567, 2565

PROBLEM: ['8503', '221', 'n', '3093', '6363', '7499', 'q', 'T', '8965', '1843']

SOLUTION:
n, q, T, 8503, 221, 3093, 6363, 7499, 8965, 1843