Unit test for sorting numbers

Since I just fixed that, let's make sure that it works right...