syntax error fixes
option to sort