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.

['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']
y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771

['d', '4491', 'D', 'G', 'I', '1041', '8105', '6671', '2719', '7721', '8031', '5179', '3507']
d, D, G, I, 4491, 1041, 8105, 6671, 2719, 7721, 8031, 5179, 3507

['r', '1955', 'K', 'b', '6879', '7217', '1349', '7055', '4103', '6529', '5811', 'H', 'Q', 'P', 'j', '3561', 'K', 'D', 'i', 'K', 'E', 'A', 'M', 'P', '317', 'K', '3659', 'f', '259', 'a', 'L', '1781', 'F', '319', '4005', '477', 'e', '2921', '863']
r, K, b, H, Q, P, j, K, D, i, K, E, A, M, P, K, f, a, L, F, e, 1955, 6879, 7217, 1349, 7055, 4103, 6529, 5811, 3561, 317, 3659, 259, 1781, 319, 4005, 477, 2921, 863