Instead of the second /filter to a file, could he use /savebuf of the custom listwindow if it is opened with the -s auto-sort parameter?
Code:
 window -hls $+(@sort.,$1) 

I'm not sure if it's quicker or if /savebuf applies to a listwindow, and if the set window buffersize in options -> other is too small this method may fail.