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: ['O', '4065', '3793', '4123', 'i', '1017', '2023', 'Q', 'Y', 'u', '8089', '8707', '6203', '1597', 'y', '6851', 'M', '1927', '9641', 't', '4281', 'b', 'm', 'm', '5371', '4465', 'n', '6049', 't', '5251', 'w', 'K', '883', 'd', '4925', '4185']

SOLUTION: O, i, Q, Y, u, y, M, t, b, m, m, n, t, w, K, d, 4065, 3793, 4123, 1017, 2023, 8089, 8707, 6203, 1597, 6851, 1927, 9641, 4281, 5371, 4465, 6049, 5251, 883, 4925, 4185

PROBLEM: ['G', 'y', 'W', 'r', 'D', '2353', '2393', 'K', '6911', 'b', '2683', 'y', 'I', '9703', '3815', '5057', 'q', '9995', 'k', 'X', 'j', '4595', 'J', 'k', '7817', '9591', 'h', '279', '8983', '2521', '3407', 'R']

SOLUTION: G, y, W, r, D, K, b, y, I, q, k, X, j, J, k, h, R, 2353, 2393, 6911, 2683, 9703, 3815, 5057, 9995, 4595, 7817, 9591, 279, 8983, 2521, 3407

PROBLEM: ['6961', '3759', 'n', 'V', 'G', '8191', '2769', 'd']

SOLUTION:
n, V, G, d, 6961, 3759, 8191, 2769