Sorting on the Kobo devices has been discussed before. The best thread I can quickly find is
https://www.mobileread.com/forums/sho....php?p=2380874. We didn't discuss a two part lastname like your example, but from the examples we used, it looks like you are right about how it works.