Implement lucene sort using lastChanged