gl.sort function

re-sorts genlight objects