correct check for numbers during sort, partial fix for bnc #885278
version and changelog
initialize pointer with 0, remove unneeded braces
Merge pull request #28 from gabi2/master

improve table sorting, partial fix bnc #885278