Completion: sort items by declaration time