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: ['9167', '2991', 'G', '5327', 't', '8631', '2825', '2915', '2637', 'H', 'A', '7233', '223', '51', 'n', '2071', 't', '3703', '4951', '4833', '6801', '2973', 'K', 'f', '3945']

SOLUTION: G, t, H, A, n, t, K, f, 9167, 2991, 5327, 8631, 2825, 2915, 2637, 7233, 223, 51, 2071, 3703, 4951, 4833, 6801, 2973, 3945

PROBLEM: ['4451', '2425', 'u', 'B', '3817', '4755', 'q', 'R', '9985', '9297', '1383', 'p', '9727', '9903', 'z', '3187', 'n', 'f', '6757', 'O', 'I', 'g', 'T', 'u', '8235', '2303', 'u', 'k', 'C', 'h', '2237', '2675', 'K', 'n', '6907', '193', '3947', 'f', 'r', '549']

SOLUTION: u, B, q, R, p, z, n, f, O, I, g, T, u, u, k, C, h, K, n, f, r, 4451, 2425, 3817, 4755, 9985, 9297, 1383, 9727, 9903, 3187, 6757, 8235, 2303, 2237, 2675, 6907, 193, 3947, 549

PROBLEM: ['329', 'q', '9125', '7879', 'h', 'd', '9507', '3359', '4275', 'f', '9989', '4025', '6121', '2959', '6507', 'u', 'W', '3835', '8375', 'c', '9515', 'o', '5887']

SOLUTION:
q, h, d, f, u, W, c, o, 329, 9125, 7879, 9507, 3359, 4275, 9989, 4025, 6121, 2959, 6507, 3835, 8375, 9515, 5887