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: ['L', 'r', '2509', 'P', '1789', 'Z', '3021', '8203', 'V', 'K', '4709', 'd', 'u', '17', 'B', '6569', 'P', '4831']

SOLUTION: L, r, P, Z, V, K, d, u, B, P, 2509, 1789, 3021, 8203, 4709, 17, 6569, 4831

PROBLEM: ['8003', '8073', 'B', '7411', '343', 'D', '1267', 'Z', '5607', '9855', '7531', 'r', '1823', '4457', 'l', '779', '7941', '8299', '1977', '4861', 'v', 'Y', 'l', 'p', '9579', '8353', 'E', '5859', '5731', '3899', 'q', 'e', '1609']

SOLUTION: B, D, Z, r, l, v, Y, l, p, E, q, e, 8003, 8073, 7411, 343, 1267, 5607, 9855, 7531, 1823, 4457, 779, 7941, 8299, 1977, 4861, 9579, 8353, 5859, 5731, 3899, 1609

PROBLEM: ['b', 'a', 's', 'd', 'e', '8585']

SOLUTION:
b, a, s, d, e, 8585