This is in continuation of Sorting Coins.
You have 18 coins. They are completely identical in every other respect except five of them weigh 24g, six of them weigh 25g and, the remaining seven weigh 26g. You have only a balance scale to sort them out.
What is the minimum number of weighings which guarantees all the coins to be sorted?