Now the tuple sort and struct sort work