I've looked through the docs for gkeepapi, and there isn't any function that sorts the notes. The notes however do appear in Keep as the order printed here:
import gkeepapi
k = gkeeapi.Keep()
k.login('[email protected]', pwd)
gnotes = k.keep.find(pinned=False, trashed=False)
for n in gnotes:
print(n.title)
gnotes = sorted(gnotes, key=lambda x: x.title)
k.sync()
I am looking to sort the gnotes by title then update it, so that when I look at Google Keep my notes are sorted alphabetically.
Since I cant call Google notes API I use a Note replacement.
output