bug fix - sort unfiltered