def ranker(self, X, meta):
        total_score = X.sum(axis=1).transpose()
        total_score = np.squeeze(np.asarray(total_score))
        ranks = total_score.argsort()
        ranks = ranks[::-1]
        sorted_meta = [meta[r] for r in ranks]
        sorted_X = X[ranks]
        return (sorted_X, sorted_meta)