Adding sorting algorithms class.
Added getNotes method that will return the json representation of the notes, given a specific sorting algorithm.
Added API function that allows the user to get the notes linked to a user (linked to the session) by the given sorting algorithm.