Update libraries/joomla/database/driver/sqlsrv.php

Add ' ORDER BY RowNumber' to limit(). Without ORDER BY, limit function returns results that do not honor the original ORDER BY specified in the query.
Merge pull request #1818 from MDunkleSr/patch-3

Update libraries/joomla/database/driver/sqlsrv.php
Merge pull request #2 from joomla/staging

Merge source code from joomla-platform staging