I was thinking about something like that but I didn't really know the syntax
I'm not an expert at dbs but wont that return you just the numbers closest to your number? How do you get the order (yourval, yourval+1, yourval-1, yourval+2, yourval-2 and so on)
Some explanation would be great