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: ['7455', 'p', '77', '3019', '135', '7585', '8201', '7115', '6619', 'F', '8747', 'K', 'p', '577', '5725', '1403', 'B', 'G', '627', 'S', '7325', '9579', '1985', 'W', '539', 'L']

SOLUTION: p, F, K, p, B, G, S, W, L, 7455, 77, 3019, 135, 7585, 8201, 7115, 6619, 8747, 577, 5725, 1403, 627, 7325, 9579, 1985, 539

PROBLEM: ['7709', 'a', 'P', 'G', '5441', '2055', '1573', '6041', 'J', 'N']

SOLUTION: a, P, G, J, N, 7709, 5441, 2055, 1573, 6041

PROBLEM: ['9791', 'd', '8421', '1603', '4449', 'n', '3247', 'F', '951', '4665', '4267', 'F', 'N', '4573', 'A', 'd', 'L', 'k', 'i', '4293', 'd', '9807', 'u', 'c', '999', '211', '8625', 'g', '8765', '6995', 'H', 'H', '213']

SOLUTION:
d, n, F, F, N, A, d, L, k, i, d, u, c, g, H, H, 9791, 8421, 1603, 4449, 3247, 951, 4665, 4267, 4573, 4293, 9807, 999, 211, 8625, 8765, 6995, 213