Added simple latest-update sorting to getAll method