If so, do we need the existing getSortedElements() which reads the elements from SDS directly?