input: Write a python function to move all palindromic substrings to the front of a comma-separated string.
  assert move_palindromic_to_front("bcqbad,bcipbp,cfgcdeh") == "bcipbp,bcqbad,cfgcdeh"
  assert move_palindromic_to_front("abc,cba,xyz") == "abc,cba,xyz"
  assert move_palindromic_to_front("racecar,hello,world") == "racecar,hello,world"
output: def move_palindromic_to_front(s):
      def is_palindrome(sub):
          return sub == sub[::-1]
  
      parts = s.split(',')
      palindromic = [part for part in parts if is_palindrome(part)]
      non_palindromic = [part for part in parts if not is_palindrome(part)]
      return ','.join(palindromic + non_palindromic)