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: ['1243', '6133', '7145', '4061', '4919', 'y', '2955', '2707', 'y', 'w', 'P', 'c', '6387', '5119', 'c', 'B', 'N', '4849', '7999', '4571', 'U', 'M', 'S', '5981', 'n']

SOLUTION: y, y, w, P, c, c, B, N, U, M, S, n, 1243, 6133, 7145, 4061, 4919, 2955, 2707, 6387, 5119, 4849, 7999, 4571, 5981

PROBLEM: ['2891', '2069', '497', '7927', 'S', '8211', 'g', 'X', '8385', '9813', 'W', '2619', '5449', '6807', 'n', 'f', '1949', '1747', '6579', 'x', 'Q', '9445', 'g', 'L', 'J', 'v', 'B']

SOLUTION: S, g, X, W, n, f, x, Q, g, L, J, v, B, 2891, 2069, 497, 7927, 8211, 8385, 9813, 2619, 5449, 6807, 1949, 1747, 6579, 9445

PROBLEM: ['E', '1093', 'W', 'p', '9107', '9741', '8569', '2357', '2457', '5703', 'v', 'b', '8467', 'U', 'h', 'd', '4309']

SOLUTION:
E, W, p, v, b, U, h, d, 1093, 9107, 9741, 8569, 2357, 2457, 5703, 8467, 4309