Add check for basic sorts
compile binary