Sort: remove unused variable from gselect kernel