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.