In general, the best order is to get Bronze II, Silver II, and Gold II first. Then get Ruby up to IV. This will lower the cost of all the other badges. You can then purchase them in any order you like. However, even though this is the cheapest route for standard servers, it may not be the most beneficial. It all depends on how active the server is and which badge benefits you need the most.