WIP: Sort gen eig