Sort Featured Content by Order instead of ID

If get_featured_posts() returns an array of WP_Post objects, then yes, the usort() function you have should work properly.

If you have access to get_featured_posts(), and it uses get_posts() or a WP_Query instance, then you can set the orderby parameter to menu_order, and drop the usort() call.

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