sortnumbers.c fixed some bugs with negatives numbers