the ordering vector still needs work