sort rank chart by rank