Fix output format
Extend `is_nan' to be applicable for Integer variables
Remove `qsort', add `sort_quick' and `sorting_quick'

Performance is probably improved by this commit.