Modified sorting on notes page