perf: improve assignment list sorting performance

- use the component views directly rather than the overall view