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: ['2797', '8449', '8105', '6175', 'x']

SOLUTION: x, 2797, 8449, 8105, 6175

PROBLEM: ['E', 'j', '5929', 'N', '4205', '4785', 'D', 'c', '3533', '8689', '8511', 'd', '3375', 'G', 'Y', '9909', 'R', '377', 'M', 'u', '8709', 'W', '6291', 'Z', 'e', '5291', '6033', 'g', 'w', '7365', '1283', '6665', '8119', '5015', 'y', 'F']

SOLUTION: E, j, N, D, c, d, G, Y, R, M, u, W, Z, e, g, w, y, F, 5929, 4205, 4785, 3533, 8689, 8511, 3375, 9909, 377, 8709, 6291, 5291, 6033, 7365, 1283, 6665, 8119, 5015

PROBLEM: ['5715', '4287', '837', '3311', 'O', '7337', 'S', '4797', 'N', 'i', '5193', '8813', '2851', '7445', 'Q', 'M', '4011', 'L', 'u', '4709', '9371', '307', 'B', '3911', 'Z', 's', '1543', 'G', '4759', 'V', 'n', '9427', 't', '8951', '261', 'Z', 'X', 'O', 'n', 'c']

SOLUTION:
O, S, N, i, Q, M, L, u, B, Z, s, G, V, n, t, Z, X, O, n, c, 5715, 4287, 837, 3311, 7337, 4797, 5193, 8813, 2851, 7445, 4011, 4709, 9371, 307, 3911, 1543, 4759, 9427, 8951, 261