fixing bug for list display -- sort by note count now working