How to order WordPress Rest API data

Add orderby=include to your GET request.

See the docs here:

https://developer.wordpress.org/rest-api/reference/posts/#arguments

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)