Its the server priority the lower the number the higher the priority, only equal weight servers are searched in a random fashion. The numbers can be anything people like, 5 is a common number to use as it allows insertion of a higher weight server without waiting for the existing server's record to timeout. Email MX records have weights too, however its common to put final delivery points down as MX 0.