Directory recursion in sorted order
Added error logging and parseint with radix