Thought I already fixed this - fix sorting error