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: ['6339', 's', 'y', '8869', '1179', 'L', 'M', 'H', 'G', '1989', 'm', 'x', '8581', '1917', 'Q', '5041', '6379', '4323', '417', '1251', '5483', '1927', '2315', '9079', '2089', 'N', '2731', '4553', 'I', '1791', '9797', 'k', 'r', 'D', 'x']

SOLUTION: s, y, L, M, H, G, m, x, Q, N, I, k, r, D, x, 6339, 8869, 1179, 1989, 8581, 1917, 5041, 6379, 4323, 417, 1251, 5483, 1927, 2315, 9079, 2089, 2731, 4553, 1791, 9797

PROBLEM: ['5463', '9001', 'C', 'r', '1813', 'n', 'v', 'r', 'k', 'n', 'A', '5577', '2807', '2311', '5893', '999', 'b', 'h', 'L', 'z', 'q', '5237', 'p', 'N', 'x', 'X', '6513', '9357', 'a', 'U']

SOLUTION: C, r, n, v, r, k, n, A, b, h, L, z, q, p, N, x, X, a, U, 5463, 9001, 1813, 5577, 2807, 2311, 5893, 999, 5237, 6513, 9357

PROBLEM: ['1595', 'j', 'k', 'e', '1999', '37', 'Y', '125', 'r', 't', '839', '977', '4393', '2837', '8569', 'l', 'V', '2941', '5835', '7669', '9375', 'R', 'q', '6133', '809', 'T', '8063', '2067', 'u', 'v', 'O', '2829', 'v', '445', 'o']

SOLUTION:
j, k, e, Y, r, t, l, V, R, q, T, u, v, O, v, o, 1595, 1999, 37, 125, 839, 977, 4393, 2837, 8569, 2941, 5835, 7669, 9375, 6133, 809, 8063, 2067, 2829, 445