getting argsort of numpy array,a.nonzero()