Most airlines follow a system that dates back to when trains were the only way to get around.
Odd flight numbers go west and even flight numbers go east. There are some exceptions. LH for instance. Short haul and regional flights may have a more random numbering system.