Update Util.class.php

synchronizing message (query) with table ordering