Hello,
is there any pattern how I can sort array of objects based on primary and secondary sort attribute ?
That array is sub-document in minimongo. (so no aggregation)
I would really prefer UL LI over table.
So prepared package, or data crunching algorithm.
Or link to some best practice algorithm in lets say JS/PHP/C++/Delphi, Pascal or maybe some other I can read