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: ['7429', 'R', 'b', '2553', 'A', '8285', 'u', 'z', 'W', 'm', 'b', '4125', 'W', 'u', 'N', '5769', '2159', '7567', 'y', 'k', 'D', '5947', '1423']

SOLUTION: R, b, A, u, z, W, m, b, W, u, N, y, k, D, 7429, 2553, 8285, 4125, 5769, 2159, 7567, 5947, 1423

PROBLEM: ['g', '6307', '3781']

SOLUTION: g, 6307, 3781

PROBLEM: ['5615', 'r', '8419', 'B', '7767', 'j', 'p', 'D', '1353', '139', '117', '3763', '4407', 'W', '9979', 'V', '1531']

SOLUTION:
r, B, j, p, D, W, V, 5615, 8419, 7767, 1353, 139, 117, 3763, 4407, 9979, 1531