CS-4539: Order of related articles not available in front-end templates.

Modifies the orderby logic and get rid of array_reverse() in return.

array_reverse() was causing the problem, it worked Ok with full list of related articles, but not when using length, as the list got cut wrongly.