Hot answers tagged get-posts
It is quite easy to achieve this. Your answer is usort() FEW NOTES: Before we code, just a few notes Requires PHP5.4+ due to the use of the short array syntax (). If you have an older version, you should really upgrade as older versions are a real security threat as all older versions prior to PHP 5.4 has been EOL'ed I will comment the code as I go ...
Only top voted, non community-wiki answers of a minimum length are eligible