Sort now compiles