fixed sector unordering bug