Detailed 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.
Q: ['9149', 'Y', 'H', 'X', '9595', '2511', '9871', 'o', '6163', '229', '2025', '2317', 'K', 'C', 'w', 'K', '7403', 'm', '2913', '5083', 'Q', '7913', 'I', '3937', '9183', '8923', '1221', 'Z', 'M', '3387', 'Z', '4775', 'b', '7175']
A:
Y, H, X, o, K, C, w, K, m, Q, I, Z, M, Z, b, 9149, 9595, 2511, 9871, 6163, 229, 2025, 2317, 7403, 2913, 5083, 7913, 3937, 9183, 8923, 1221, 3387, 4775, 7175