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: ['J', 'X', '4569', '8419', 'H', '7977', 'x', 'a', 'Q', '3953', '2337', 'u', '1317', 'i', 'j', '6933', '1053', '8345', '9831', 'a', '8859', '759', 'p', 'A', '7163']

SOLUTION: J, X, H, x, a, Q, u, i, j, a, p, A, 4569, 8419, 7977, 3953, 2337, 1317, 6933, 1053, 8345, 9831, 8859, 759, 7163

PROBLEM: ['661', '4531', '3329', 'c', '7131', 'n', 'J', '3925', '8073', 'O', '3171', '2057', 'W', 'k', 'a', 'v', '2749', '9649', 'w', 'Y', '4901']

SOLUTION: c, n, J, O, W, k, a, v, w, Y, 661, 4531, 3329, 7131, 3925, 8073, 3171, 2057, 2749, 9649, 4901

PROBLEM: ['8615', 'Q', 'V', 'z', '1135', 'p', '2955', 'j', '4907', '5541', 'e', '7059', 'B', 'O', 'a', 'K']

SOLUTION:
Q, V, z, p, j, e, B, O, a, K, 8615, 1135, 2955, 4907, 5541, 7059