Sir this is needed because i identify the note from its id so i binded the id with note and using the id I open note and then even if the sorting order is changed id remains same so its required