Update Builder.php

Introducing the functionality of sorting while building the query.