Which event happened first, Tomsa pledged allegiance to the Polish king or Potocki's 7000 strong army was defeated in the battle of Sasowy Róg?
return Tomsa pledged allegiance to the  Polish king ;return Potocki 's 7000 strong army was  defeated in  the  battle of Sasowy Róg ;return when  was  #1 ;return when  was  #2 ;return which is the  lowest of #3 ,  #4
['select', 'select', 'project', 'project', 'comparison']