add new iplementations for hepasort