clean up sscanf: don't need parens
sorting
sort by suit too
remove DEBUG ifdefs
template for hand value