Ensure the line numbers are sorted numerically in our test suite

Signed-off-by: Petr Šabata <contyk@redhat.com>