Note sorting works