Instructions: 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.
Input: ['325', '6209', '3903', '5409', '9327', 'K', '3779', '9321', '9849', '7869', 'a', '3675', '237', 'Y', 'p', '5915', 'e', '7085', '5537', '4265', 'R', 'B', '4779', 'B', 'f', '4983', '3057', '9585', '6669', '5473', 'L', 'g', '9405', '7321', 'g']
Output:
K, a, Y, p, e, R, B, B, f, L, g, g, 325, 6209, 3903, 5409, 9327, 3779, 9321, 9849, 7869, 3675, 237, 5915, 7085, 5537, 4265, 4779, 4983, 3057, 9585, 6669, 5473, 9405, 7321